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

Unified Diff: chrome/browser/chromeos/net/network_portal_detector.h

Issue 12211111: Added UMA records for OOBE portal detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync, fix. Created 7 years, 10 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 | « no previous file | chrome/browser/chromeos/net/network_portal_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/net/network_portal_detector.h
diff --git a/chrome/browser/chromeos/net/network_portal_detector.h b/chrome/browser/chromeos/net/network_portal_detector.h
index c636b1f29a46879f9fae6f45d9e3c1315a77a9d2..1c68a0ad83ad5a1b7c225c4568a24df741b61518 100644
--- a/chrome/browser/chromeos/net/network_portal_detector.h
+++ b/chrome/browser/chromeos/net/network_portal_detector.h
@@ -44,7 +44,8 @@ class NetworkPortalDetector
CAPTIVE_PORTAL_STATUS_OFFLINE = 1,
CAPTIVE_PORTAL_STATUS_ONLINE = 2,
CAPTIVE_PORTAL_STATUS_PORTAL = 3,
- CAPTIVE_PORTAL_STATUS_PROXY_AUTH_REQUIRED = 4
+ CAPTIVE_PORTAL_STATUS_PROXY_AUTH_REQUIRED = 4,
+ CAPTIVE_PORTAL_STATUS_COUNT
};
struct CaptivePortalState {
@@ -213,6 +214,9 @@ class NetworkPortalDetector
// active network.
base::TimeDelta min_time_between_attempts_;
+ // Start time of portal detection.
+ base::TimeTicks detection_start_time_;
+
// Start time of portal detection attempt.
base::TimeTicks attempt_start_time_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/net/network_portal_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698