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

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: Fix Android builds Created 5 years, 11 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: 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..2e24e4395bd9697144993c191bb3459a63765cb4 100644
--- a/chrome/browser/captive_portal/captive_portal_service.h
+++ b/chrome/browser/captive_portal/captive_portal_service.h
@@ -29,9 +29,11 @@ class CaptivePortalService : public KeyedService, public base::NonThreadSafe {
public:
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
- // native captive portal detection.
+ DISABLED_FOR_TESTING, // The service is always disabled.
+ 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. This also
+ // implies SKIP_OS_CHECK_FOR_TESTING.
};
// The details sent via a NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT.
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_browsertest.cc ('k') | chrome/browser/captive_portal/captive_portal_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698