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

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

Issue 2844973002: [CrOS Tether] Create TetherHostResponseRecorder, which records ConnectTetheringResponses and Tether… (Closed)
Patch Set: Changed "Connectable" wording to "Connected". 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/tether_connector.cc
diff --git a/chromeos/components/tether/tether_connector.cc b/chromeos/components/tether/tether_connector.cc
index 25dfec221fd27333e49cffbd9fe93651ea159060..f0650af95088ac9973e9ad3215b8a1ebfc76e56b 100644
--- a/chromeos/components/tether/tether_connector.cc
+++ b/chromeos/components/tether/tether_connector.cc
@@ -24,7 +24,7 @@ TetherConnector::TetherConnector(
ActiveHost* active_host,
TetherHostFetcher* tether_host_fetcher,
BleConnectionManager* connection_manager,
- HostScanDevicePrioritizer* host_scan_device_prioritizer,
+ TetherHostResponseRecorder* tether_host_response_recorder,
DeviceIdTetherNetworkGuidMap* device_id_tether_network_guid_map)
: network_connection_handler_(network_connection_handler),
network_state_handler_(network_state_handler),
@@ -32,7 +32,7 @@ TetherConnector::TetherConnector(
active_host_(active_host),
tether_host_fetcher_(tether_host_fetcher),
connection_manager_(connection_manager),
- host_scan_device_prioritizer_(host_scan_device_prioritizer),
+ tether_host_response_recorder_(tether_host_response_recorder),
device_id_tether_network_guid_map_(device_id_tether_network_guid_map),
weak_ptr_factory_(this) {
network_connection_handler_->SetTetherDelegate(this);
@@ -175,7 +175,7 @@ void TetherConnector::OnTetherHostToConnectFetched(
connect_tethering_operation_ =
ConnectTetheringOperation::Factory::NewInstance(
*tether_host_to_connect, connection_manager_,
- host_scan_device_prioritizer_);
+ tether_host_response_recorder_);
connect_tethering_operation_->AddObserver(this);
connect_tethering_operation_->Initialize();
}
« no previous file with comments | « chromeos/components/tether/tether_connector.h ('k') | chromeos/components/tether/tether_connector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698