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

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.h

Issue 1437283003: [DevTools] filter any messages from previous session in DevToolsAgentHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/web/WebSharedWorkerImpl.h
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
index 7845be608eb8c9e4b88db102ec835da09f07916a..76648cb681153ea2b4b16becba2303ea3b105e9b 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
@@ -93,7 +93,7 @@ public:
int64_t serviceWorkerID(WebDataSource&) override;
// WebDevToolsAgentClient overrides.
- void sendProtocolMessage(int callId, const WebString&, const WebString&) override;
+ void sendProtocolMessage(int sessionId, int callId, const WebString&, const WebString&) override;
void resumeStartup() override;
// WebSharedWorker methods:
@@ -102,10 +102,10 @@ public:
void terminateWorkerContext() override;
void pauseWorkerContextOnStart() override;
- void attachDevTools(const WebString& hostId) override;
- void reattachDevTools(const WebString& hostId, const WebString& savedState) override;
+ void attachDevTools(const WebString& hostId, int sessionId) override;
+ void reattachDevTools(const WebString& hostId, int sesionId, const WebString& savedState) override;
void detachDevTools() override;
- void dispatchDevToolsMessage(const WebString&) override;
+ void dispatchDevToolsMessage(int sessionId, const WebString&) override;
private:
~WebSharedWorkerImpl() override;
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698