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

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

Issue 183973029: Refactoring of the NetworkPortalDetector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes. Created 6 years, 9 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 b639497cef565573672b009dcdf735fbe15049e6..650b10df80f9efffbce5123f3b67e68c12caaad3 100644
--- a/chrome/browser/chromeos/net/network_portal_detector.h
+++ b/chrome/browser/chromeos/net/network_portal_detector.h
@@ -94,12 +94,12 @@ class NetworkPortalDetector {
// started.
virtual bool StartDetectionIfIdle() = 0;
- // Enables lazy detection mode. In this mode portal detection after
- // first 3 consecutive attemps will be performed once in 5 seconds.
- virtual void EnableLazyDetection() = 0;
+ // Enables detection strategy for the error screen. In this mode portal
+ // detection will be performed once in 5 seconds.
+ virtual void EnableErrorScreenStrategy() = 0;
- // Dizables lazy detection mode.
- virtual void DisableLazyDetection() = 0;
+ // Dizables detection strategy for the error screen.
+ virtual void DisableErrorScreenStrategy() = 0;
// Initializes network portal detector for testing. The
// |network_portal_detector| will be owned by the internal pointer
« 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