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

Unified Diff: third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.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/exported/WebSharedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp
index 7523950c9b1cbab0375af6df91a5c4454038a725..e4f398b946e28135e06f01ee2102f3a33f45c374 100644
--- a/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/core/exported/WebSharedWorkerImpl.cpp
@@ -235,9 +235,10 @@ void WebSharedWorkerImpl::CountFeature(WebFeature feature) {
client_->CountFeature(static_cast<uint32_t>(feature));
}
-void WebSharedWorkerImpl::PostMessageToPageInspector(const String& message) {
+void WebSharedWorkerImpl::PostMessageToPageInspector(int session_id,
+ const String& message) {
DCHECK(IsMainThread());
- worker_inspector_proxy_->DispatchMessageFromWorker(message);
+ worker_inspector_proxy_->DispatchMessageFromWorker(session_id, message);
}
void WebSharedWorkerImpl::DidCloseWorkerGlobalScope() {

Powered by Google App Engine
This is Rietveld 408576698