This source file includes following definitions.
- data
- length
#include "chrome/renderer/static_v8_external_string_resource.h"
StaticV8ExternalAsciiStringResource::StaticV8ExternalAsciiStringResource(
const base::StringPiece& buffer)
: buffer_(buffer) {
}
StaticV8ExternalAsciiStringResource::~StaticV8ExternalAsciiStringResource() {
}
const char* StaticV8ExternalAsciiStringResource::data() const {
return buffer_.data();
}
size_t StaticV8ExternalAsciiStringResource::length() const {
return buffer_.length();
}