Index: content/public/browser/devtools_manager.h |
diff --git a/content/public/browser/devtools_manager.h b/content/public/browser/devtools_manager.h |
index 32082ea8bc55a24c1ffea5d1e2e8dcc0b5718352..b43dc9bb5bb3afe874c92dbf8a4e2a25d346c710 100644 |
--- a/content/public/browser/devtools_manager.h |
+++ b/content/public/browser/devtools_manager.h |
@@ -16,6 +16,7 @@ class Message; |
namespace content { |
+class BrowserContext; |
class DevToolsAgentHost; |
class DevToolsClientHost; |
@@ -58,6 +59,12 @@ class CONTENT_EXPORT DevToolsManager { |
virtual void AddAgentStateCallback(const Callback& callback) = 0; |
virtual void RemoveAgentStateCallback(const Callback& callback) = 0; |
+ |
+ typedef base::Callback<void(BrowserContext*, DevToolsAgentHost*)> |
+ WindowOpenCallback; |
+ |
+ virtual void RegisterOpenDevToolsWindowForWorkerCallback( |
pfeldman
2014/05/07 16:01:30
It does not look too pretty. John, do you think we
jam
2014/05/08 16:27:17
just to make sure I understand, do you mean conten
|
+ const WindowOpenCallback& window_open_callback) = 0; |
}; |
} // namespace content |