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

Unified Diff: content/public/browser/devtools_agent_host.h

Issue 2361613002: DevTools: untangle device discovery request from the devtools android bridge. (Closed)
Patch Set: make device hosts profile-independent, plump browser context for inspect. Created 4 years, 3 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: content/public/browser/devtools_agent_host.h
diff --git a/content/public/browser/devtools_agent_host.h b/content/public/browser/devtools_agent_host.h
index ed5394b475cb3b2a1e8475972a8777a897fb860f..91a9292ff6f3e2c12ecdfc2a7cff3fe34d51bfb7 100644
--- a/content/public/browser/devtools_agent_host.h
+++ b/content/public/browser/devtools_agent_host.h
@@ -187,7 +187,9 @@ class CONTENT_EXPORT DevToolsAgentHost
virtual bool Activate() = 0;
// Opens devtools for this agent host. Returns false if the operation failed.
- virtual bool Inspect() = 0;
+ // If own context is null, uses |context| to open devtools
dgozman 2016/09/22 17:13:59 This should be enforced in content rather than in
+ // window in.
+ virtual bool Inspect(BrowserContext* context) = 0;
// Reloads the host.
virtual void Reload() = 0;

Powered by Google App Engine
This is Rietveld 408576698