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

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

Issue 2949343002: Tether: record each type of host connection result. (Closed)
Patch Set: Remove typo. Created 3 years, 5 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/wifi_hotspot_connector.h
diff --git a/chromeos/components/tether/wifi_hotspot_connector.h b/chromeos/components/tether/wifi_hotspot_connector.h
index a947454154be256906973fae8879bc96711c8bf5..b3c8554890f6ce6c7db5d748784243a66fc094c6 100644
--- a/chromeos/components/tether/wifi_hotspot_connector.h
+++ b/chromeos/components/tether/wifi_hotspot_connector.h
@@ -22,11 +22,15 @@ class NetworkStateHandler;
namespace tether {
+class HostConnectionMetricsLogger;
+
// Connects to a Wi-Fi hotspot, given an SSID and password.
class WifiHotspotConnector : public NetworkStateHandlerObserver {
public:
- WifiHotspotConnector(NetworkStateHandler* network_state_handler,
- NetworkConnect* network_connect);
+ WifiHotspotConnector(
+ NetworkStateHandler* network_state_handler,
+ NetworkConnect* network_connect,
+ HostConnectionMetricsLogger* host_connection_metrics_logger);
~WifiHotspotConnector() override;
// Function which receives the GUID of the connected Wi-Fi hotspot. If
@@ -63,6 +67,7 @@ class WifiHotspotConnector : public NetworkStateHandlerObserver {
NetworkStateHandler* network_state_handler_;
NetworkConnect* network_connect_;
+ HostConnectionMetricsLogger* host_connection_metrics_logger_;
std::unique_ptr<base::Timer> timer_;
std::string ssid_;

Powered by Google App Engine
This is Rietveld 408576698