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; |