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

Unified Diff: Source/core/inspector/WorkerDebuggerAgent.h

Issue 445023005: DevTools: reduce ResourceAgent dependency on PageAgent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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: Source/core/inspector/WorkerDebuggerAgent.h
diff --git a/Source/core/inspector/WorkerDebuggerAgent.h b/Source/core/inspector/WorkerDebuggerAgent.h
index 4a82218210fd9d28b02aed545a600b728ec156e0..7cee63567116ff2c01f3ccaaef28bdcff30f53a6 100644
--- a/Source/core/inspector/WorkerDebuggerAgent.h
+++ b/Source/core/inspector/WorkerDebuggerAgent.h
@@ -36,6 +36,7 @@
namespace blink {
+class EditedResourcesContentManager;
class WorkerGlobalScope;
class WorkerThread;
class WorkerDebuggerAgent;
@@ -44,7 +45,7 @@ class WorkerDebuggerAgent FINAL : public InspectorDebuggerAgent {
WTF_MAKE_NONCOPYABLE(WorkerDebuggerAgent);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*);
+ static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*, EditedResourcesContentManager*);
virtual ~WorkerDebuggerAgent();
virtual void trace(Visitor*) OVERRIDE;
@@ -52,7 +53,7 @@ public:
private:
- WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*);
+ WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedScriptManager*, EditedResourcesContentManager*);
virtual void startListeningScriptDebugServer() OVERRIDE;
virtual void stopListeningScriptDebugServer() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698