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

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

Issue 11419070: Added detection timeouts and usage of Retry-After HTTP header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 8 years, 1 month 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/captive_portal/captive_portal_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/captive_portal/captive_portal_detector.h
diff --git a/chrome/browser/captive_portal/captive_portal_detector.h b/chrome/browser/captive_portal/captive_portal_detector.h
index 2e75645562a09c76e8f780c715299791f3cdfcac..f2c3fcfbb6783d2ff4f473c0bf17ab1813e023b6 100644
--- a/chrome/browser/captive_portal/captive_portal_detector.h
+++ b/chrome/browser/captive_portal/captive_portal_detector.h
@@ -59,6 +59,8 @@ class CaptivePortalDetector : public net::URLFetcherDelegate,
const scoped_refptr<net::URLRequestContextGetter>& request_context);
virtual ~CaptivePortalDetector();
+ static std::string CaptivePortalResultToString(Result result);
+
// Triggers a check for a captive portal. After completion, runs the
// |callback|.
void DetectCaptivePortal(const GURL& url, const DetectionCallback& callback);
« no previous file with comments | « no previous file | chrome/browser/captive_portal/captive_portal_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698