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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/core/inspector/WorkerDebuggerAgent.cpp ('k') | Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/WorkerInspectorController.h
diff --git a/Source/core/inspector/WorkerInspectorController.h b/Source/core/inspector/WorkerInspectorController.h
index 4bd3f241f18f15e6381d20e9bc3f3d19cf75a088..41bfb532368dca68c348e3fc2d3f7df11eb32779 100644
--- a/Source/core/inspector/WorkerInspectorController.h
+++ b/Source/core/inspector/WorkerInspectorController.h
@@ -47,35 +47,40 @@ class InspectorFrontendChannel;
class InspectorState;
class InspectorStateClient;
class InstrumentingAgents;
+class WorkerDebuggerAgent;
class WorkerGlobalScope;
class WorkerScriptDebugServer;
-class WorkerInspectorController {
+class WorkerInspectorController : public RefCountedWillBeGarbageCollectedFinalized<WorkerInspectorController> {
WTF_MAKE_NONCOPYABLE(WorkerInspectorController);
- WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- WorkerInspectorController(WorkerGlobalScope*);
+ explicit WorkerInspectorController(WorkerGlobalScope*);
~WorkerInspectorController();
+ void trace(Visitor*);
void connectFrontend();
void disconnectFrontend();
void restoreInspectorStateFromCookie(const String& inspectorCookie);
void dispatchMessageFromFrontend(const String&);
void resume();
+ void dispose();
+ void interruptAndDispatchInspectorCommands();
private:
friend InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope*);
- WorkerGlobalScope* m_workerGlobalScope;
+ RawPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope;
OwnPtr<InspectorStateClient> m_stateClient;
OwnPtr<InspectorCompositeState> m_state;
- RefPtr<InstrumentingAgents> m_instrumentingAgents;
+ RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
OwnPtr<InjectedScriptManager> m_injectedScriptManager;
OwnPtr<WorkerScriptDebugServer> m_debugServer;
InspectorAgentRegistry m_agents;
OwnPtr<InspectorFrontendChannel> m_frontendChannel;
OwnPtr<InspectorFrontend> m_frontend;
RefPtr<InspectorBackendDispatcher> m_backendDispatcher;
+ RawPtrWillBeMember<WorkerDebuggerAgent> m_workerDebuggerAgent;
};
}
« no previous file with comments | « Source/core/inspector/WorkerDebuggerAgent.cpp ('k') | Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698