Lines Matching refs:v8
15 #include "v8/include/v8-util.h"
16 #include "v8/include/v8.h"
21 // A registry for the v8::Value representations of extension API schemas.
22 // In a way, the v8 counterpart to ExtensionAPI.
31 // Returns a v8::Array with all the schemas for the APIs in |apis|.
32 v8::Handle<v8::Array> GetSchemas(const std::vector<std::string>& apis);
34 // Returns a v8::Object for the schema for |api|, possibly from the cache.
35 v8::Handle<v8::Object> GetSchema(const std::string& api);
40 v8::Handle<v8::Context> GetOrCreateContext(v8::Isolate* isolate);
43 typedef v8::StdPersistentValueMap<std::string, v8::Object> SchemaCache;
46 // Single per-instance gin::ContextHolder to create v8::Values.