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

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

Issue 242483003: Move CaptivePortalDetector to src/components/captive_portal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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_login_detector.h
diff --git a/chrome/browser/captive_portal/captive_portal_login_detector.h b/chrome/browser/captive_portal/captive_portal_login_detector.h
index 17266e750e93e3f9e326b55f5d5e879bc93064a0..1324e3eb492f7de97848114e7ee644bb8755213b 100644
--- a/chrome/browser/captive_portal/captive_portal_login_detector.h
+++ b/chrome/browser/captive_portal/captive_portal_login_detector.h
@@ -10,8 +10,6 @@
class Profile;
-namespace captive_portal {
-
// Triggers a captive portal test on navigations that may indicate a captive
// portal has been logged into. Currently only tracks if a page was opened
// at a captive portal tab's login page, and triggers checks every navigation
@@ -27,7 +25,9 @@ class CaptivePortalLoginDetector {
~CaptivePortalLoginDetector();
void OnStoppedLoading();
- void OnCaptivePortalResults(Result previous_result, Result result);
+ void OnCaptivePortalResults(
+ captive_portal::CaptivePortalResult previous_result,
+ captive_portal::CaptivePortalResult result);
bool is_login_tab() const { return is_login_tab_; }
void SetIsLoginTab();
@@ -46,6 +46,4 @@ class CaptivePortalLoginDetector {
DISALLOW_COPY_AND_ASSIGN(CaptivePortalLoginDetector);
};
-} // namespace captive_portal
-
#endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_LOGIN_DETECTOR_H_

Powered by Google App Engine
This is Rietveld 408576698