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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h

Issue 1728803002: Rename WorkerThread to WorkerScript Base URL: https://chromium.googlesource.com/chromium/src.git@workerscript-controller
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/core/workers/WorkerInspectorProxy.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
index a86a431b11feade1820efad9a32d926d41759808..15d9016b4bda2424a796cc1647461d661339b9f3 100644
--- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
+++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
@@ -16,7 +16,7 @@ class ExecutionContext;
class KURL;
class WebTraceLocation;
class WorkerGlobalScopeProxy;
-class WorkerThread;
+class WorkerScript;
// A proxy for talking to the worker inspector on the worker thread.
// All of these methods should be called on the main thread.
@@ -36,8 +36,8 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { }
};
- void workerThreadCreated(ExecutionContext*, WorkerThread*, const KURL&);
- void workerThreadTerminated();
+ void workerScriptCreated(ExecutionContext*, WorkerScript*, const KURL&);
+ void workerScriptTerminated();
void connectToInspector(PageInspector*);
void disconnectFromInspector();
@@ -54,7 +54,7 @@ private:
void addDebuggerTaskForWorker(const WebTraceLocation&, PassOwnPtr<WebTaskRunner::Task>);
- WorkerThread* m_workerThread;
+ WorkerScript* m_workerScript;
RawPtrWillBeMember<ExecutionContext> m_executionContext;
RawPtrWillBeMember<WorkerInspectorProxy::PageInspector> m_pageInspector;
WorkerGlobalScopeProxy* m_workerGlobalScopeProxy;

Powered by Google App Engine
This is Rietveld 408576698