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

Unified Diff: chrome/browser/captive_portal/captive_portal_service.h

Issue 318213002: Add custom interstitial for captive portals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mmenke comments Created 6 years 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: chrome/browser/captive_portal/captive_portal_service.h
diff --git a/chrome/browser/captive_portal/captive_portal_service.h b/chrome/browser/captive_portal/captive_portal_service.h
index 66e6d1b4182049e14af547361a2e04522fe8148f..17a357eada499b1fb7e80daefa309dbe93e064ed 100644
--- a/chrome/browser/captive_portal/captive_portal_service.h
+++ b/chrome/browser/captive_portal/captive_portal_service.h
@@ -30,8 +30,9 @@ class CaptivePortalService : public KeyedService, public base::NonThreadSafe {
enum TestingState {
NOT_TESTING,
DISABLED_FOR_TESTING, // The service is always disabled.
- SKIP_OS_CHECK_FOR_TESTING // The service can be enabled even if the OS has
+ SKIP_OS_CHECK_FOR_TESTING, // The service can be enabled even if the OS has
// native captive portal detection.
+ IGNORE_REQUESTS_FOR_TESTING // Disables actual portal checks.
};
// The details sent via a NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT.

Powered by Google App Engine
This is Rietveld 408576698