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