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

Unified Diff: chromeos/components/tether/connect_tethering_operation.h

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
« no previous file with comments | « chromeos/components/tether/BUILD.gn ('k') | chromeos/components/tether/connect_tethering_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/connect_tethering_operation.h
diff --git a/chromeos/components/tether/connect_tethering_operation.h b/chromeos/components/tether/connect_tethering_operation.h
index fdcc22626e865a47dce7e83110dce3547b400f88..01ba625ff3e10fce9ffc92c923d773a3d76d5a20 100644
--- a/chromeos/components/tether/connect_tethering_operation.h
+++ b/chromeos/components/tether/connect_tethering_operation.h
@@ -18,8 +18,8 @@ namespace chromeos {
namespace tether {
-class HostScanDevicePrioritizer;
class MessageWrapper;
+class TetherHostResponseRecorder;
// Operation used to request that a tether host share its Internet connection.
// Attempts a connection to the RemoteDevice passed to its constructor and
@@ -33,7 +33,7 @@ class ConnectTetheringOperation : public MessageTransferOperation {
static std::unique_ptr<ConnectTetheringOperation> NewInstance(
const cryptauth::RemoteDevice& device_to_connect,
BleConnectionManager* connection_manager,
- HostScanDevicePrioritizer* host_scan_device_prioritizer);
+ TetherHostResponseRecorder* tether_host_response_recorder);
static void SetInstanceForTesting(Factory* factory);
@@ -41,7 +41,7 @@ class ConnectTetheringOperation : public MessageTransferOperation {
virtual std::unique_ptr<ConnectTetheringOperation> BuildInstance(
const cryptauth::RemoteDevice& devices_to_connect,
BleConnectionManager* connection_manager,
- HostScanDevicePrioritizer* host_scan_device_prioritizer);
+ TetherHostResponseRecorder* tether_host_response_recorder);
private:
static Factory* factory_instance_;
@@ -61,7 +61,7 @@ class ConnectTetheringOperation : public MessageTransferOperation {
ConnectTetheringOperation(
const cryptauth::RemoteDevice& device_to_connect,
BleConnectionManager* connection_manager,
- HostScanDevicePrioritizer* host_scan_device_prioritizer);
+ TetherHostResponseRecorder* tether_host_response_recorder);
~ConnectTetheringOperation() override;
void AddObserver(Observer* observer);
@@ -84,7 +84,7 @@ class ConnectTetheringOperation : public MessageTransferOperation {
friend class ConnectTetheringOperationTest;
cryptauth::RemoteDevice remote_device_;
- HostScanDevicePrioritizer* host_scan_device_prioritizer_;
+ TetherHostResponseRecorder* tether_host_response_recorder_;
// These values are saved in OnMessageReceived() and returned in
// OnOperationFinished().
« no previous file with comments | « chromeos/components/tether/BUILD.gn ('k') | chromeos/components/tether/connect_tethering_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698