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

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: Remove notification, add observer for SSLErrorHandler timer. 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..b15674577fb56432a5e670a350fff5d9976d51c7 100644
--- a/chrome/browser/captive_portal/captive_portal_service.h
+++ b/chrome/browser/captive_portal/captive_portal_service.h
@@ -30,8 +30,10 @@ 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
Bernhard Bauer 2014/12/18 18:10:06 The previous alignment was okay (two spaces before
meacer 2014/12/19 02:42:24 Done.
// native captive portal detection.
+ IGNORE_REQUESTS_FOR_TESTING // Disables actual portal checks. This also
+ // implies SKIP_OS_CHECK_FOR_TESTING.
};
// The details sent via a NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT.

Powered by Google App Engine
This is Rietveld 408576698