| Index: third_party/WebKit/Source/core/inspector/v8/public/V8RuntimeAgent.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/v8/public/V8RuntimeAgent.h b/third_party/WebKit/Source/core/inspector/v8/public/V8RuntimeAgent.h
|
| index 99bf631747f9242a0c54c82aa84c92e028055d08..02ba86c16d5ee70d6067935e1904c07b4072074e 100644
|
| --- a/third_party/WebKit/Source/core/inspector/v8/public/V8RuntimeAgent.h
|
| +++ b/third_party/WebKit/Source/core/inspector/v8/public/V8RuntimeAgent.h
|
| @@ -6,8 +6,8 @@
|
| #define V8RuntimeAgent_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "core/InspectorBackendDispatcher.h"
|
| #include "core/inspector/v8/public/V8Debugger.h"
|
| +#include "platform/inspector_protocol/Dispatcher.h"
|
| #include "wtf/Functional.h"
|
|
|
| #include <v8.h>
|
| @@ -16,7 +16,7 @@ namespace blink {
|
|
|
| class InjectedScriptManager;
|
|
|
| -class CORE_EXPORT V8RuntimeAgent : public InspectorBackendDispatcher::RuntimeCommandHandler, public V8Debugger::Agent<InspectorFrontend::Runtime> {
|
| +class CORE_EXPORT V8RuntimeAgent : public protocol::Dispatcher::RuntimeCommandHandler, public V8Debugger::Agent<protocol::Frontend::Runtime> {
|
| public:
|
| // Cross-context inspectable values (DOM nodes in different worlds, etc.).
|
| class Inspectable {
|
| @@ -35,13 +35,13 @@ public:
|
| // Embedder API.
|
| using ClearConsoleCallback = Function<void()>;
|
| virtual void setClearConsoleCallback(PassOwnPtr<ClearConsoleCallback>) = 0;
|
| - using InspectCallback = Function<void(PassRefPtr<TypeBuilder::Runtime::RemoteObject>, PassRefPtr<JSONObject>)>;
|
| + using InspectCallback = Function<void(PassRefPtr<protocol::TypeBuilder::Runtime::RemoteObject>, PassRefPtr<JSONObject>)>;
|
| virtual void setInspectObjectCallback(PassOwnPtr<InspectCallback>) = 0;
|
| // FIXME: remove while preserving the default context evaluation.
|
| virtual int ensureDefaultContextAvailable(v8::Local<v8::Context>) = 0;
|
| - virtual PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(v8::Local<v8::Context>, v8::Local<v8::Value>, const String& groupName, bool generatePreview = false) = 0;
|
| + virtual PassRefPtr<protocol::TypeBuilder::Runtime::RemoteObject> wrapObject(v8::Local<v8::Context>, v8::Local<v8::Value>, const String& groupName, bool generatePreview = false) = 0;
|
| // FIXME: remove when console.table moves into V8 inspector.
|
| - virtual PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(v8::Local<v8::Context>, v8::Local<v8::Value> table, v8::Local<v8::Value> columns) = 0;
|
| + virtual PassRefPtr<protocol::TypeBuilder::Runtime::RemoteObject> wrapTable(v8::Local<v8::Context>, v8::Local<v8::Value> table, v8::Local<v8::Value> columns) = 0;
|
| virtual v8::Local<v8::Value> findObject(const String& objectId, v8::Local<v8::Context>* = nullptr, String* objectGroup = nullptr) = 0;
|
| virtual void disposeObjectGroup(const String&) = 0;
|
| virtual void addInspectedObject(PassOwnPtr<Inspectable>) = 0;
|
|
|