Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: chromeos/components/tether/initializer.cc

Issue 2819993002: [CrOS Tether] Add the notion of a tether DeviceState. (Closed)
Patch Set: hansberry@ comments. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/components/tether/initializer.cc
diff --git a/chromeos/components/tether/initializer.cc b/chromeos/components/tether/initializer.cc
index ee2d8f3e4d1ace6f37ee97e23b52dcf0a6e19683..8a69c3d6311b83b6e9db77d0fd7dfa4ff7e9c8c7 100644
--- a/chromeos/components/tether/initializer.cc
+++ b/chromeos/components/tether/initializer.cc
@@ -15,6 +15,7 @@
#include "chromeos/components/tether/local_device_data_provider.h"
#include "chromeos/components/tether/notification_presenter.h"
#include "chromeos/components/tether/tether_connector.h"
+#include "chromeos/components/tether/tether_device_state_manager.h"
#include "chromeos/components/tether/tether_host_fetcher.h"
#include "chromeos/components/tether/wifi_hotspot_connector.h"
#include "chromeos/network/network_connect.h"
@@ -152,6 +153,8 @@ void Initializer::OnBluetoothAdapterAdvertisingIntervalSet(
PA_LOG(INFO) << "Successfully set Bluetooth advertisement interval. "
<< "Initializing tether feature.";
+ tether_device_state_manager_ =
+ base::MakeUnique<TetherDeviceStateManager>(network_state_handler_);
tether_host_fetcher_ =
base::MakeUnique<TetherHostFetcher>(cryptauth_service_);
local_device_data_provider_ =

Powered by Google App Engine
This is Rietveld 408576698