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

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

Issue 1916023002: [DevTools] Move last inspected objects to V8InspectorSessionImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-part-command-line-api-to-native
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
index 44108aa4c73653dcefd235289ac3ba30e132efc5..2f4ccd2a98d4415494fca289758417ba9d018c1f 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.h
@@ -31,19 +31,16 @@
#define InjectedScriptHost_h
#include "platform/inspector_protocol/Collections.h"
-#include "platform/inspector_protocol/String16.h"
-#include "platform/v8_inspector/public/V8RuntimeAgent.h"
#include "wtf/PassOwnPtr.h"
#include <v8.h>
namespace blink {
class V8InspectorSessionImpl;
-class V8EventListenerInfo;
class V8DebuggerImpl;
namespace protocol {
-class DictionaryValue;
+class Value;
}
// SECURITY NOTE: Although the InjectedScriptHost is intended for use solely by the inspector,
@@ -56,10 +53,6 @@ public:
static PassOwnPtr<InjectedScriptHost> create(V8DebuggerImpl*, V8InspectorSessionImpl*);
~InjectedScriptHost();
- void addInspectedObject(PassOwnPtr<V8RuntimeAgent::Inspectable>);
- void clearInspectedObjects();
- V8RuntimeAgent::Inspectable* inspectedObject(unsigned num);
-
void inspectImpl(PassOwnPtr<protocol::Value> objectToInspect, PassOwnPtr<protocol::Value> hints);
V8DebuggerImpl* debugger() { return m_debugger; }
@@ -73,7 +66,6 @@ private:
V8DebuggerImpl* m_debugger;
V8InspectorSessionImpl* m_session;
- protocol::Vector<OwnPtr<V8RuntimeAgent::Inspectable>> m_inspectedObjects;
v8::Global<v8::FunctionTemplate> m_wrapperTemplate;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/v8_inspector/InjectedScriptHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698