| Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h
|
| index 37ba6b1408839b7e1fe7daa9b8b006433f218726..76e4ca27958796fe0022fe593a25112312393580 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h
|
| @@ -93,6 +93,18 @@ public:
|
| Maybe<bool>* wasThrown,
|
| Maybe<protocol::Runtime::ExceptionDetails>*);
|
|
|
| + class ScopedGlobalObjectExtension {
|
| + PROTOCOL_DISALLOW_COPY(ScopedGlobalObjectExtension);
|
| + public:
|
| + ScopedGlobalObjectExtension(InjectedScript* current, v8::MaybeLocal<v8::Object> extension);
|
| + ~ScopedGlobalObjectExtension();
|
| +
|
| + private:
|
| + v8::Local<v8::Symbol> m_symbol;
|
| + v8::Local<v8::Context> m_context;
|
| + v8::MaybeLocal<v8::Object> m_global;
|
| + };
|
| +
|
| private:
|
| friend InjectedScript* InjectedScriptManager::injectedScriptFor(v8::Local<v8::Context>);
|
| InjectedScript(InjectedScriptManager*, v8::Local<v8::Context>, v8::Local<v8::Object>, PassOwnPtr<InjectedScriptNative>, int contextId);
|
|
|