#include "gin/interceptor.h"
#include <stdint.h>
#include <map>
#include "gin/per_isolate_data.h"
namespace gin {
NamedPropertyInterceptor::NamedPropertyInterceptor(v8::Isolate* isolate,
WrappableBase* base)
: … { … }
NamedPropertyInterceptor::~NamedPropertyInterceptor() { … }
v8::Local<v8::Value> NamedPropertyInterceptor::GetNamedProperty(
v8::Isolate* isolate,
const std::string& property) { … }
bool NamedPropertyInterceptor::SetNamedProperty(v8::Isolate* isolate,
const std::string& property,
v8::Local<v8::Value> value) { … }
std::vector<std::string> NamedPropertyInterceptor::EnumerateNamedProperties(
v8::Isolate* isolate) { … }
void NamedPropertyInterceptor::ClearForTesting() { … }
IndexedPropertyInterceptor::IndexedPropertyInterceptor(v8::Isolate* isolate,
WrappableBase* base)
: … { … }
IndexedPropertyInterceptor::~IndexedPropertyInterceptor() { … }
v8::Local<v8::Value> IndexedPropertyInterceptor::GetIndexedProperty(
v8::Isolate* isolate,
uint32_t index) { … }
bool IndexedPropertyInterceptor::SetIndexedProperty(
v8::Isolate* isolate,
uint32_t index,
v8::Local<v8::Value> value) { … }
std::vector<uint32_t> IndexedPropertyInterceptor::EnumerateIndexedProperties(
v8::Isolate* isolate) { … }
void IndexedPropertyInterceptor::ClearForTesting() { … }
}