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

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

Issue 2640813006: Worker: Move instrumentation flag check from WorkerThread to WorkerOrWorkletGlobalScope (Closed)
Patch Set: Created 3 years, 11 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/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index cafb78d0948866782adfbddb2b5f740bbcb84507..89702deb47934baf320d1c91768df1258f79bea7 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -136,9 +136,7 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
return m_workerReportingProxy;
}
- void postTask(const WebTraceLocation&,
- std::unique_ptr<ExecutionContextTask>,
- bool isInstrumented = false);
+ void postTask(const WebTraceLocation&, std::unique_ptr<ExecutionContextTask>);
void appendDebuggerTask(std::unique_ptr<CrossThreadClosure>);
// Runs only debugger tasks while paused in debugger.
@@ -247,8 +245,7 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
void initializeOnWorkerThread(std::unique_ptr<WorkerThreadStartupData>);
void prepareForShutdownOnWorkerThread();
void performShutdownOnWorkerThread();
- void performTaskOnWorkerThread(std::unique_ptr<ExecutionContextTask>,
- bool isInstrumented);
+ void performTaskOnWorkerThread(std::unique_ptr<ExecutionContextTask>);
void performDebuggerTaskOnWorkerThread(std::unique_ptr<CrossThreadClosure>);
void performDebuggerTaskDontWaitOnWorkerThread();

Powered by Google App Engine
This is Rietveld 408576698