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

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

Issue 2819993002: [CrOS Tether] Add the notion of a tether DeviceState. (Closed)
Patch Set: stevenjb@ comment. 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
« no previous file with comments | « chromeos/components/tether/initializer.h ('k') | chromeos/components/tether/tether_connector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/initializer.cc
diff --git a/chromeos/components/tether/initializer.cc b/chromeos/components/tether/initializer.cc
index 0eafb69379147aee6d112cb2bd8043515f621800..78a5e4212e330217485b56743b9ad1370da8c67e 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_ =
« no previous file with comments | « chromeos/components/tether/initializer.h ('k') | chromeos/components/tether/tether_connector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698