Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h

Issue 1738073002: DevTools: introduce protocol::Value, baseline for hierarchical data in remote debugging protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
index 7a71ad68cae065af5e8572529c175d9e8af63789..9075d8433456a2d013f1eb0f4b99c2a837dd5e5f 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h
@@ -39,9 +39,12 @@
namespace blink {
class InjectedScriptManager;
-class JSONArray;
class V8DebuggerImpl;
+namespace protocol {
+class DictionaryValue;
+}
+
typedef String ErrorString;
using protocol::Maybe;
@@ -53,7 +56,7 @@ public:
~V8RuntimeAgentImpl() override;
// State management methods.
- void setInspectorState(PassRefPtr<JSONObject>) override;
+ void setInspectorState(PassRefPtr<protocol::DictionaryValue>) override;
void setFrontend(protocol::Frontend::Runtime*) override;
void clearFrontend() override;
void restore() override;
@@ -128,7 +131,7 @@ private:
void reportExecutionContextDestroyed(v8::Local<v8::Context>) override;
PassOwnPtr<protocol::Runtime::ExceptionDetails> createExceptionDetails(v8::Isolate*, v8::Local<v8::Message>);
- RefPtr<JSONObject> m_state;
+ RefPtr<protocol::DictionaryValue> m_state;
protocol::Frontend::Runtime* m_frontend;
OwnPtr<InjectedScriptManager> m_injectedScriptManager;
V8DebuggerImpl* m_debugger;

Powered by Google App Engine
This is Rietveld 408576698