Chromium Code Reviews| Index: chrome/browser/devtools/devtools_ui_bindings.h |
| diff --git a/chrome/browser/devtools/devtools_ui_bindings.h b/chrome/browser/devtools/devtools_ui_bindings.h |
| index 268f3a561412fc6eeb5957dd5cccfc9828afe751..a7561dd9d6ddcf61a2a845e8e3e61b1141b9dfe4 100644 |
| --- a/chrome/browser/devtools/devtools_ui_bindings.h |
| +++ b/chrome/browser/devtools/devtools_ui_bindings.h |
| @@ -24,6 +24,7 @@ |
| #include "net/url_request/url_fetcher_delegate.h" |
| #include "ui/gfx/geometry/size.h" |
| +class DevToolsAndroidBridge; |
| class InfoBarService; |
| class Profile; |
| @@ -135,6 +136,13 @@ class DevToolsUIBindings : public content::NotificationObserver, |
| void SetDevicesUpdatesEnabled(bool enabled) override; |
| void SendMessageToBrowser(const std::string& message) override; |
| void RecordActionUMA(const std::string& name, int action) override; |
| + void SendJsonRequest(const DispatchCallback& callback, |
| + const std::string& browser_id, |
| + const std::string& url) override; |
| + |
| + void JsonReceived(const DispatchCallback& callback, |
|
dgozman
2015/03/12 12:45:27
nit: please move this method below, so one doesn't
vkuzkokov
2015/03/12 14:20:12
Done.
|
| + int result, |
| + const std::string& message); |
| // net::URLFetcherDelegate overrides. |
| void OnURLFetchComplete(const net::URLFetcher* source) override; |
| @@ -185,6 +193,7 @@ class DevToolsUIBindings : public content::NotificationObserver, |
| scoped_ptr<FrontendWebContentsObserver> frontend_contents_observer_; |
| Profile* profile_; |
| + DevToolsAndroidBridge* android_bridge_; |
| content::WebContents* web_contents_; |
| scoped_ptr<Delegate> delegate_; |
| scoped_refptr<content::DevToolsAgentHost> agent_host_; |