| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 void SendJsonRequest(const BrowserId& browser_id, | 263 void SendJsonRequest(const BrowserId& browser_id, |
| 264 const std::string& url, | 264 const std::string& url, |
| 265 const JsonRequestCallback& callback); | 265 const JsonRequestCallback& callback); |
| 266 | 266 |
| 267 void SendProtocolCommand(const BrowserId& browser_id, | 267 void SendProtocolCommand(const BrowserId& browser_id, |
| 268 const std::string& debug_url, | 268 const std::string& debug_url, |
| 269 const std::string& method, | 269 const std::string& method, |
| 270 base::DictionaryValue* params, | 270 base::DictionaryValue* params, |
| 271 const base::Closure callback); | 271 const base::Closure callback); |
| 272 | 272 |
| 273 AndroidDeviceManager::AndroidWebSocket* CreateWebSocket( | |
| 274 const BrowserId& browser_id, | |
| 275 const std::string& url, | |
| 276 AndroidDeviceManager::AndroidWebSocket::Delegate* delegate); | |
| 277 | |
| 278 void PageCreatedOnUIThread(scoped_refptr<RemoteBrowser> browser, | 273 void PageCreatedOnUIThread(scoped_refptr<RemoteBrowser> browser, |
| 279 const RemotePageCallback& callback, | 274 const RemotePageCallback& callback, |
| 280 const std::string& url, | 275 const std::string& url, |
| 281 int result, | 276 int result, |
| 282 const std::string& response); | 277 const std::string& response); |
| 283 | 278 |
| 284 void NavigatePageOnUIThread(scoped_refptr<RemoteBrowser> browser, | 279 void NavigatePageOnUIThread(scoped_refptr<RemoteBrowser> browser, |
| 285 const RemotePageCallback& callback, | 280 const RemotePageCallback& callback, |
| 286 int result, | 281 int result, |
| 287 const std::string& response, | 282 const std::string& response, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 313 | 308 |
| 314 typedef std::vector<PortForwardingListener*> PortForwardingListeners; | 309 typedef std::vector<PortForwardingListener*> PortForwardingListeners; |
| 315 PortForwardingListeners port_forwarding_listeners_; | 310 PortForwardingListeners port_forwarding_listeners_; |
| 316 scoped_ptr<PortForwardingController> port_forwarding_controller_; | 311 scoped_ptr<PortForwardingController> port_forwarding_controller_; |
| 317 | 312 |
| 318 PrefChangeRegistrar pref_change_registrar_; | 313 PrefChangeRegistrar pref_change_registrar_; |
| 319 DISALLOW_COPY_AND_ASSIGN(DevToolsAndroidBridge); | 314 DISALLOW_COPY_AND_ASSIGN(DevToolsAndroidBridge); |
| 320 }; | 315 }; |
| 321 | 316 |
| 322 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ | 317 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ |
| OLD | NEW |