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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerReportingProxy.cpp

Issue 2951833002: [DevTools] Support multiple sessions in dedicated workers (Closed)
Patch Set: Created 3 years, 6 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/SharedWorkerReportingProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerReportingProxy.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerReportingProxy.cpp
index ea3b366c1c63a257a2b2234eb4b82509a0d89621..e26397765d988c0c5016640e9b296e22d9ed3bf8 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorkerReportingProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerReportingProxy.cpp
@@ -56,6 +56,7 @@ void SharedWorkerReportingProxy::ReportConsoleMessage(MessageSource,
}
void SharedWorkerReportingProxy::PostMessageToPageInspector(
+ int session_id,
const String& message) {
DCHECK(!IsMainThread());
// The TaskType of Inspector tasks need to be Unthrottled because they need to
@@ -64,7 +65,7 @@ void SharedWorkerReportingProxy::PostMessageToPageInspector(
->PostTask(
BLINK_FROM_HERE,
CrossThreadBind(&WebSharedWorkerImpl::PostMessageToPageInspector,
- CrossThreadUnretained(worker_), message));
+ CrossThreadUnretained(worker_), session_id, message));
}
void SharedWorkerReportingProxy::DidCloseWorkerGlobalScope() {

Powered by Google App Engine
This is Rietveld 408576698