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_WEBRTC_DEVTOOLS_BRIDGE_INSTANCES_REQUEST_
H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_INSTANCES_REQUEST_
H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_INSTANCES_REQUEST_
H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_INSTANCES_REQUEST_
H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/devtools/device/android_device_manager.h" | 9 #include "chrome/browser/devtools/device/android_device_manager.h" |
9 #include "chrome/browser/local_discovery/gcd_api_flow.h" | 10 #include "chrome/browser/local_discovery/gcd_api_flow.h" |
10 | 11 |
11 class DevToolsBridgeInstancesRequest | 12 class DevToolsBridgeInstancesRequest |
12 : public local_discovery::GCDApiFlowRequest { | 13 : public local_discovery::GCDApiFlowRequest { |
13 public: | 14 public: |
14 struct Instance { | 15 struct Instance { |
15 std::string id; | 16 std::string id; |
16 std::string display_name; | 17 std::string display_name; |
17 | 18 |
(...skipping 23 matching lines...) Expand all Loading... |
41 private: | 42 private: |
42 void TryAddInstance(const base::DictionaryValue& device_value); | 43 void TryAddInstance(const base::DictionaryValue& device_value); |
43 | 44 |
44 Delegate* const delegate_; | 45 Delegate* const delegate_; |
45 InstanceList result_; | 46 InstanceList result_; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(DevToolsBridgeInstancesRequest); | 48 DISALLOW_COPY_AND_ASSIGN(DevToolsBridgeInstancesRequest); |
48 }; | 49 }; |
49 | 50 |
50 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_INSTANCES_REQUE
ST_H_ | 51 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_DEVTOOLS_BRIDGE_INSTANCES_REQUE
ST_H_ |
OLD | NEW |