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

Unified Diff: public/web/WebDevToolsAgentClient.h

Issue 338993006: DevTools: pass agent host id to the renderer (Blink). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Same w/ reattach. Created 6 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
« no previous file with comments | « public/web/WebDevToolsAgent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDevToolsAgentClient.h
diff --git a/public/web/WebDevToolsAgentClient.h b/public/web/WebDevToolsAgentClient.h
index ea514f42ca36b47e82b9c4135f38a2c713f0ac45..23730ee6749dbd3f1db827ae5e5f13d6deb728a0 100644
--- a/public/web/WebDevToolsAgentClient.h
+++ b/public/web/WebDevToolsAgentClient.h
@@ -47,8 +47,12 @@ public:
virtual void sendDebuggerOutput(const WebString&) { }
// Returns the identifier of the entity hosting this agent.
+ // FIXME: remove once migrated to debuggerId().
virtual int hostIdentifier() { return -1; }
+ // Returns unique identifier of the entity within process.
+ virtual int debuggerId() { return hostIdentifier(); }
+
// Save the agent state in order to pass it later into WebDevToolsAgent::reattach
// if the same client is reattached to another agent.
virtual void saveAgentRuntimeState(const WebString&) { }
« no previous file with comments | « public/web/WebDevToolsAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698