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

Unified Diff: content/child/shared_worker_devtools_agent.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: content/child/shared_worker_devtools_agent.h
diff --git a/content/child/shared_worker_devtools_agent.h b/content/child/shared_worker_devtools_agent.h
index 2d6a732a3300e900e0ac1bfe43c09725c0203784..19b1ea923dbe6ebdef8ec293d93c70fb1619597c 100644
--- a/content/child/shared_worker_devtools_agent.h
+++ b/content/child/shared_worker_devtools_agent.h
@@ -27,15 +27,18 @@ class SharedWorkerDevToolsAgent {
// Called on the Worker thread.
bool OnMessageReceived(const IPC::Message& message);
- void SendDevToolsMessage(int call_id,
+ void SendDevToolsMessage(int session_id,
+ int call_id,
const blink::WebString& message,
const blink::WebString& post_state);
private:
- void OnAttach(const std::string& host_id);
- void OnReattach(const std::string& host_id, const std::string& state);
+ void OnAttach(const std::string& host_id, int session_id);
+ void OnReattach(const std::string& host_id,
+ int session_id,
+ const std::string& state);
void OnDetach();
- void OnDispatchOnInspectorBackend(const std::string& message);
+ void OnDispatchOnInspectorBackend(int session_id, const std::string& message);
bool Send(IPC::Message* message);
const int route_id_;
« no previous file with comments | « content/browser/devtools/worker_devtools_agent_host.cc ('k') | content/child/shared_worker_devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698