| 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" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 namespace tether { | 34 namespace tether { |
| 35 | 35 |
| 36 class ActiveHost; | 36 class ActiveHost; |
| 37 class ActiveHostNetworkStateUpdater; | 37 class ActiveHostNetworkStateUpdater; |
| 38 class BleConnectionManager; | 38 class BleConnectionManager; |
| 39 class NetworkConnectionHandlerTetherDelegate; | 39 class NetworkConnectionHandlerTetherDelegate; |
| 40 class DeviceIdTetherNetworkGuidMap; | 40 class DeviceIdTetherNetworkGuidMap; |
| 41 class HostScanCache; | 41 class HostScanCache; |
| 42 class HostScanner; | 42 class HostScanner; |
| 43 class HostScanScheduler; | 43 class HostScanScheduler; |
| 44 class HostScanDevicePrioritizer; | 44 class HostScanDevicePrioritizerImpl; |
| 45 class KeepAliveScheduler; | 45 class KeepAliveScheduler; |
| 46 class LocalDeviceDataProvider; | 46 class LocalDeviceDataProvider; |
| 47 class NetworkConfigurationRemover; | 47 class NetworkConfigurationRemover; |
| 48 class NotificationPresenter; | 48 class NotificationPresenter; |
| 49 class TetherConnector; | 49 class TetherConnector; |
| 50 class TetherDisconnector; | 50 class TetherDisconnector; |
| 51 class TetherHostFetcher; | 51 class TetherHostFetcher; |
| 52 class TetherHostResponseRecorder; | 52 class TetherHostResponseRecorder; |
| 53 class TetherNetworkDisconnectionHandler; | 53 class TetherNetworkDisconnectionHandler; |
| 54 class WifiHotspotConnector; | 54 class WifiHotspotConnector; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 // Declare new objects in the order that they will be created during | 112 // Declare new objects in the order that they will be created during |
| 113 // initialization to ensure that they are destroyed in the correct order. This | 113 // initialization to ensure that they are destroyed in the correct order. This |
| 114 // order will be enforced by InitializerTest.TestCreateAndDestroy. | 114 // order will be enforced by InitializerTest.TestCreateAndDestroy. |
| 115 std::unique_ptr<TetherHostFetcher> tether_host_fetcher_; | 115 std::unique_ptr<TetherHostFetcher> tether_host_fetcher_; |
| 116 std::unique_ptr<LocalDeviceDataProvider> local_device_data_provider_; | 116 std::unique_ptr<LocalDeviceDataProvider> local_device_data_provider_; |
| 117 std::unique_ptr<cryptauth::RemoteBeaconSeedFetcher> | 117 std::unique_ptr<cryptauth::RemoteBeaconSeedFetcher> |
| 118 remote_beacon_seed_fetcher_; | 118 remote_beacon_seed_fetcher_; |
| 119 std::unique_ptr<BleConnectionManager> ble_connection_manager_; | 119 std::unique_ptr<BleConnectionManager> ble_connection_manager_; |
| 120 std::unique_ptr<TetherHostResponseRecorder> tether_host_response_recorder_; | 120 std::unique_ptr<TetherHostResponseRecorder> tether_host_response_recorder_; |
| 121 std::unique_ptr<HostScanDevicePrioritizer> host_scan_device_prioritizer_; | 121 std::unique_ptr<HostScanDevicePrioritizerImpl> host_scan_device_prioritizer_; |
| 122 std::unique_ptr<WifiHotspotConnector> wifi_hotspot_connector_; | 122 std::unique_ptr<WifiHotspotConnector> wifi_hotspot_connector_; |
| 123 std::unique_ptr<ActiveHost> active_host_; | 123 std::unique_ptr<ActiveHost> active_host_; |
| 124 std::unique_ptr<ActiveHostNetworkStateUpdater> | 124 std::unique_ptr<ActiveHostNetworkStateUpdater> |
| 125 active_host_network_state_updater_; | 125 active_host_network_state_updater_; |
| 126 std::unique_ptr<DeviceIdTetherNetworkGuidMap> | 126 std::unique_ptr<DeviceIdTetherNetworkGuidMap> |
| 127 device_id_tether_network_guid_map_; | 127 device_id_tether_network_guid_map_; |
| 128 std::unique_ptr<HostScanCache> host_scan_cache_; | 128 std::unique_ptr<HostScanCache> host_scan_cache_; |
| 129 std::unique_ptr<KeepAliveScheduler> keep_alive_scheduler_; | 129 std::unique_ptr<KeepAliveScheduler> keep_alive_scheduler_; |
| 130 std::unique_ptr<base::DefaultClock> clock_; | 130 std::unique_ptr<base::DefaultClock> clock_; |
| 131 std::unique_ptr<HostScanner> host_scanner_; | 131 std::unique_ptr<HostScanner> host_scanner_; |
| 132 std::unique_ptr<HostScanScheduler> host_scan_scheduler_; | 132 std::unique_ptr<HostScanScheduler> host_scan_scheduler_; |
| 133 std::unique_ptr<TetherConnector> tether_connector_; | 133 std::unique_ptr<TetherConnector> tether_connector_; |
| 134 std::unique_ptr<TetherDisconnector> tether_disconnector_; | 134 std::unique_ptr<TetherDisconnector> tether_disconnector_; |
| 135 std::unique_ptr<NetworkConfigurationRemover> network_configuration_remover_; | 135 std::unique_ptr<NetworkConfigurationRemover> network_configuration_remover_; |
| 136 std::unique_ptr<NetworkConnectionHandlerTetherDelegate> | 136 std::unique_ptr<NetworkConnectionHandlerTetherDelegate> |
| 137 network_connection_handler_tether_delegate_; | 137 network_connection_handler_tether_delegate_; |
| 138 std::unique_ptr<TetherNetworkDisconnectionHandler> | 138 std::unique_ptr<TetherNetworkDisconnectionHandler> |
| 139 tether_network_disconnection_handler_; | 139 tether_network_disconnection_handler_; |
| 140 | 140 |
| 141 base::WeakPtrFactory<Initializer> weak_ptr_factory_; | 141 base::WeakPtrFactory<Initializer> weak_ptr_factory_; |
| 142 | 142 |
| 143 DISALLOW_COPY_AND_ASSIGN(Initializer); | 143 DISALLOW_COPY_AND_ASSIGN(Initializer); |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 } // namespace tether | 146 } // namespace tether |
| 147 | 147 |
| 148 } // namespace chromeos | 148 } // namespace chromeos |
| 149 | 149 |
| 150 #endif // CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ | 150 #endif // CHROMEOS_COMPONENTS_TETHER_INITIALIZER_H_ |
| OLD | NEW |