#include "content/public/renderer/chrome_object_extensions_utils.h"
#include "gin/converter.h"
#include "v8/include/v8-context.h"
#include "v8/include/v8-object.h"
namespace content {
v8::Local<v8::Object> GetOrCreateChromeObject(v8::Isolate* isolate,
v8::Local<v8::Context> context) { … }
v8::Local<v8::Object> GetOrCreateObject(v8::Isolate* isolate,
v8::Local<v8::Context> context,
const std::string& object_name) { … }
v8::Local<v8::Object> GetOrCreateObject(v8::Isolate* isolate,
v8::Local<v8::Context> context,
v8::Local<v8::Object> parent,
const std::string& object_name) { … }
}