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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/cancelable_callback.h" | 13 #include "base/cancelable_callback.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "chrome/browser/devtools/device/android_device_manager.h" | 17 #include "chrome/browser/devtools/device/android_device_manager.h" |
18 #include "chrome/browser/devtools/device/devtools_device_discovery.h" | 18 #include "chrome/browser/devtools/device/devtools_device_discovery.h" |
19 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 19 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
20 #include "components/keyed_service/core/keyed_service.h" | 20 #include "components/keyed_service/core/keyed_service.h" |
21 #include "components/prefs/pref_change_registrar.h" | 21 #include "components/prefs/pref_change_registrar.h" |
22 #include "content/public/browser/devtools_agent_host.h" | 22 #include "content/public/browser/devtools_agent_host.h" |
23 #include "ui/gfx/geometry/size.h" | 23 #include "ui/gfx/geometry/size.h" |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 template<typename T> struct DefaultSingletonTraits; | 26 template<typename T> struct DefaultSingletonTraits; |
27 | |
28 class MessageLoop; | |
29 class DictionaryValue; | |
30 class ListValue; | |
31 class Thread; | |
32 } // namespace base | 27 } // namespace base |
33 | 28 |
34 namespace content { | 29 namespace content { |
35 class BrowserContext; | 30 class BrowserContext; |
36 } | 31 } |
37 | 32 |
38 class PortForwardingController; | 33 class PortForwardingController; |
39 class Profile; | 34 class Profile; |
40 class TCPDeviceProvider; | 35 class TCPDeviceProvider; |
41 | 36 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 TCPProviderCallback tcp_provider_callback_; | 184 TCPProviderCallback tcp_provider_callback_; |
190 | 185 |
191 std::unique_ptr<DevToolsDeviceDiscovery> device_discovery_; | 186 std::unique_ptr<DevToolsDeviceDiscovery> device_discovery_; |
192 | 187 |
193 base::WeakPtrFactory<DevToolsAndroidBridge> weak_factory_; | 188 base::WeakPtrFactory<DevToolsAndroidBridge> weak_factory_; |
194 | 189 |
195 DISALLOW_COPY_AND_ASSIGN(DevToolsAndroidBridge); | 190 DISALLOW_COPY_AND_ASSIGN(DevToolsAndroidBridge); |
196 }; | 191 }; |
197 | 192 |
198 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ | 193 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_DEVTOOLS_ANDROID_BRIDGE_H_ |
OLD | NEW |