| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_DISCOVERY_MANAGER_H_ | 5 #ifndef COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_DISCOVERY_MANAGER_H_ |
| 6 #define COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_DISCOVERY_MANAGER_H_ | 6 #define COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_DISCOVERY_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
| 12 #include "components/devtools_discovery/devtools_target_descriptor.h" | 13 #include "components/devtools_discovery/devtools_target_descriptor.h" |
| 13 | 14 |
| 14 namespace devtools_discovery { | 15 namespace devtools_discovery { |
| 15 | 16 |
| 16 class DevToolsDiscoveryManager { | 17 class DevToolsDiscoveryManager { |
| 17 public: | 18 public: |
| 18 class Provider { | 19 class Provider { |
| 19 public: | 20 public: |
| (...skipping 26 matching lines...) Expand all Loading... |
| 46 | 47 |
| 47 std::vector<Provider*> providers_; | 48 std::vector<Provider*> providers_; |
| 48 CreateCallback create_callback_; | 49 CreateCallback create_callback_; |
| 49 | 50 |
| 50 DISALLOW_COPY_AND_ASSIGN(DevToolsDiscoveryManager); | 51 DISALLOW_COPY_AND_ASSIGN(DevToolsDiscoveryManager); |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 } // namespace devtools_discovery | 54 } // namespace devtools_discovery |
| 54 | 55 |
| 55 #endif // COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_DISCOVERY_MANAGER_H_ | 56 #endif // COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_DISCOVERY_MANAGER_H_ |
| OLD | NEW |