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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 static DevToolsAndroidBridge* GetForProfile(Profile* profile); | 63 static DevToolsAndroidBridge* GetForProfile(Profile* profile); |
64 | 64 |
65 private: | 65 private: |
66 friend struct DefaultSingletonTraits<Factory>; | 66 friend struct DefaultSingletonTraits<Factory>; |
67 | 67 |
68 Factory(); | 68 Factory(); |
69 virtual ~Factory(); | 69 virtual ~Factory(); |
70 | 70 |
71 // BrowserContextKeyedServiceFactory overrides: | 71 // BrowserContextKeyedServiceFactory overrides: |
72 virtual KeyedService* BuildServiceInstanceFor( | 72 virtual KeyedService* BuildServiceInstanceFor( |
73 content::BrowserContext* context) const OVERRIDE; | 73 content::BrowserContext* context) const override; |
74 DISALLOW_COPY_AND_ASSIGN(Factory); | 74 DISALLOW_COPY_AND_ASSIGN(Factory); |
75 }; | 75 }; |
76 | 76 |
77 class RemotePage { | 77 class RemotePage { |
78 public: | 78 public: |
79 virtual ~RemotePage() {} | 79 virtual ~RemotePage() {} |
80 virtual DevToolsTargetImpl* GetTarget() = 0; | 80 virtual DevToolsTargetImpl* GetTarget() = 0; |
81 virtual std::string GetFrontendURL() = 0; | 81 virtual std::string GetFrontendURL() = 0; |
82 }; | 82 }; |
83 | 83 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 278 |
279 typedef std::vector<PortForwardingListener*> PortForwardingListeners; | 279 typedef std::vector<PortForwardingListener*> PortForwardingListeners; |
280 PortForwardingListeners port_forwarding_listeners_; | 280 PortForwardingListeners port_forwarding_listeners_; |
281 scoped_ptr<PortForwardingController> port_forwarding_controller_; | 281 scoped_ptr<PortForwardingController> port_forwarding_controller_; |
282 | 282 |
283 PrefChangeRegistrar pref_change_registrar_; | 283 PrefChangeRegistrar pref_change_registrar_; |
284 DISALLOW_COPY_AND_ASSIGN(DevToolsAndroidBridge); | 284 DISALLOW_COPY_AND_ASSIGN(DevToolsAndroidBridge); |
285 }; | 285 }; |
286 | 286 |
287 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ | 287 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ |
OLD | NEW |