| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ | 5 #ifndef CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ |
| 6 #define CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ | 6 #define CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/time/default_clock.h" |
| 14 #include "components/prefs/pref_registry_simple.h" | 15 #include "components/prefs/pref_registry_simple.h" |
| 15 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 16 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| 16 #include "device/bluetooth/bluetooth_adapter.h" | 17 #include "device/bluetooth/bluetooth_adapter.h" |
| 17 #include "device/bluetooth/bluetooth_advertisement.h" | 18 #include "device/bluetooth/bluetooth_advertisement.h" |
| 18 | 19 |
| 19 class PrefService; | 20 class PrefService; |
| 20 | 21 |
| 21 namespace cryptauth { | 22 namespace cryptauth { |
| 22 class CryptAuthService; | 23 class CryptAuthService; |
| 23 class RemoteBeaconSeedFetcher; | 24 class RemoteBeaconSeedFetcher; |
| 24 } | 25 } |
| 25 | 26 |
| 26 namespace chromeos { | 27 namespace chromeos { |
| 27 | 28 |
| 28 class ManagedNetworkConfigurationHandler; | 29 class ManagedNetworkConfigurationHandler; |
| 29 class NetworkConnect; | 30 class NetworkConnect; |
| 30 class NetworkConnectionHandler; | 31 class NetworkConnectionHandler; |
| 31 class NetworkStateHandler; | 32 class NetworkStateHandler; |
| 32 | 33 |
| 33 namespace tether { | 34 namespace tether { |
| 34 | 35 |
| 35 class ActiveHost; | 36 class ActiveHost; |
| 36 class ActiveHostNetworkStateUpdater; | 37 class ActiveHostNetworkStateUpdater; |
| 37 class BleConnectionManager; | 38 class BleConnectionManager; |
| 38 class NetworkConnectionHandlerTetherDelegate; | 39 class NetworkConnectionHandlerTetherDelegate; |
| 39 class DeviceIdTetherNetworkGuidMap; | 40 class DeviceIdTetherNetworkGuidMap; |
| 40 class HostScanCache; | 41 class HostScanCache; |
| 41 class HostScanner; | 42 class HostScanner; |
| 43 class HostScanScheduler; |
| 42 class HostScanDevicePrioritizer; | 44 class HostScanDevicePrioritizer; |
| 43 class LocalDeviceDataProvider; | 45 class LocalDeviceDataProvider; |
| 44 class NetworkConfigurationRemover; | 46 class NetworkConfigurationRemover; |
| 45 class NotificationPresenter; | 47 class NotificationPresenter; |
| 46 class TetherConnector; | 48 class TetherConnector; |
| 47 class TetherDisconnector; | 49 class TetherDisconnector; |
| 48 class TetherHostFetcher; | 50 class TetherHostFetcher; |
| 49 class TetherHostResponseRecorder; | 51 class TetherHostResponseRecorder; |
| 50 class TetherNetworkDisconnectionHandler; | 52 class TetherNetworkDisconnectionHandler; |
| 51 class WifiHotspotConnector; | 53 class WifiHotspotConnector; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 std::unique_ptr<DeviceIdTetherNetworkGuidMap> | 125 std::unique_ptr<DeviceIdTetherNetworkGuidMap> |
| 124 device_id_tether_network_guid_map_; | 126 device_id_tether_network_guid_map_; |
| 125 std::unique_ptr<TetherConnector> tether_connector_; | 127 std::unique_ptr<TetherConnector> tether_connector_; |
| 126 std::unique_ptr<TetherDisconnector> tether_disconnector_; | 128 std::unique_ptr<TetherDisconnector> tether_disconnector_; |
| 127 std::unique_ptr<NetworkConfigurationRemover> network_configuration_remover_; | 129 std::unique_ptr<NetworkConfigurationRemover> network_configuration_remover_; |
| 128 std::unique_ptr<NetworkConnectionHandlerTetherDelegate> | 130 std::unique_ptr<NetworkConnectionHandlerTetherDelegate> |
| 129 network_connection_handler_tether_delegate_; | 131 network_connection_handler_tether_delegate_; |
| 130 std::unique_ptr<TetherNetworkDisconnectionHandler> | 132 std::unique_ptr<TetherNetworkDisconnectionHandler> |
| 131 tether_network_disconnection_handler_; | 133 tether_network_disconnection_handler_; |
| 132 std::unique_ptr<HostScanCache> host_scan_cache_; | 134 std::unique_ptr<HostScanCache> host_scan_cache_; |
| 135 std::unique_ptr<base::DefaultClock> clock_; |
| 133 std::unique_ptr<HostScanner> host_scanner_; | 136 std::unique_ptr<HostScanner> host_scanner_; |
| 137 std::unique_ptr<HostScanScheduler> host_scan_scheduler_; |
| 134 | 138 |
| 135 base::WeakPtrFactory<Initializer> weak_ptr_factory_; | 139 base::WeakPtrFactory<Initializer> weak_ptr_factory_; |
| 136 | 140 |
| 137 DISALLOW_COPY_AND_ASSIGN(Initializer); | 141 DISALLOW_COPY_AND_ASSIGN(Initializer); |
| 138 }; | 142 }; |
| 139 | 143 |
| 140 } // namespace tether | 144 } // namespace tether |
| 141 | 145 |
| 142 } // namespace chromeos | 146 } // namespace chromeos |
| 143 | 147 |
| 144 #endif // CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ | 148 #endif // CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ |
| OLD | NEW |