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

Unified Diff: sky/engine/core/inspector/PageDebuggerAgent.h

Issue 746713002: Move InspectorBackendMojo out of the blink namespace (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/inspector/PageDebuggerAgent.h
diff --git a/sky/engine/core/inspector/PageDebuggerAgent.h b/sky/engine/core/inspector/PageDebuggerAgent.h
index 97530e37a275fedc9cb0330d6ef45c2906e48fc9..a6b21ea66ab5cb1e232b444e0e4e15bf255c3c61 100644
--- a/sky/engine/core/inspector/PageDebuggerAgent.h
+++ b/sky/engine/core/inspector/PageDebuggerAgent.h
@@ -34,11 +34,16 @@
#include "bindings/core/v8/PageScriptDebugServer.h"
#include "core/inspector/InspectorDebuggerAgent.h"
+// This whole file will move to namespace inspector.
+namespace inspector {
+class InspectorHost;
+}
+
namespace blink {
class DocumentLoader;
+class InspectorHost;
class InspectorPageAgent;
-class Page;
class PageScriptDebugServer;
class ScriptSourceCode;
@@ -47,7 +52,7 @@ class PageDebuggerAgent final
WTF_MAKE_NONCOPYABLE(PageDebuggerAgent);
WTF_MAKE_FAST_ALLOCATED;
public:
- static PassOwnPtr<PageDebuggerAgent> create(PageScriptDebugServer*, Page*, InjectedScriptManager*);
+ static PassOwnPtr<PageDebuggerAgent> create(PageScriptDebugServer*, inspector::InspectorHost*, InjectedScriptManager*);
virtual ~PageDebuggerAgent();
void didClearDocumentOfWindowObject(LocalFrame*);
@@ -62,9 +67,9 @@ private:
virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) override;
virtual void setOverlayMessage(ErrorString*, const String*) override;
- PageDebuggerAgent(PageScriptDebugServer*, Page*, InjectedScriptManager*);
+ PageDebuggerAgent(PageScriptDebugServer*, inspector::InspectorHost*, InjectedScriptManager*);
PageScriptDebugServer* m_pageScriptDebugServer;
- Page* m_page;
+ inspector::InspectorHost* m_host;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698