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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.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/WebEmbeddedWorkerImpl.h
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
index 55f53bb24681564fb873371d64fe3f77e4cc644c..78a46de3d3d88cc7a9cf2d1de609736978b457a9 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
@@ -62,10 +62,10 @@ public:
// WebEmbeddedWorker overrides.
void startWorkerContext(const WebEmbeddedWorkerStartData&) override;
void terminateWorkerContext() 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 sessionId, const WebString& savedState) override;
void detachDevTools() override;
- void dispatchDevToolsMessage(const WebString&) override;
+ void dispatchDevToolsMessage(int sessionId, const WebString&) override;
void postMessageToPageInspector(const WTF::String&);
@@ -80,7 +80,7 @@ private:
void didFinishDocumentLoad(WebLocalFrame*, bool documentIsEmpty) 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;
void onScriptLoaderFinished();
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698