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

Side by Side Diff: chrome/browser/captive_portal/captive_portal_login_detector.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_LOGIN_DETECTOR_H_ 5 #ifndef CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_LOGIN_DETECTOR_H_
6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_LOGIN_DETECTOR_H_ 6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_LOGIN_DETECTOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "chrome/browser/captive_portal/captive_portal_service.h" 9 #include "chrome/browser/captive_portal/captive_portal_service.h"
10 10
11 class Profile; 11 class Profile;
12 12
13 // Triggers a captive portal test on navigations that may indicate a captive 13 // Triggers a captive portal test on navigations that may indicate a captive
14 // portal has been logged into. Currently only tracks if a page was opened 14 // portal has been logged into. Currently only tracks if a page was opened
15 // at a captive portal tab's login page, and triggers checks every navigation 15 // at a captive portal tab's login page, and triggers checks every navigation
16 // until there's no longer a captive portal, relying on the 16 // until there's no longer a captive portal, relying on the
17 // CaptivePortalService's throttling to prevent excessive server load. 17 // CaptivePortalService's throttling to prevent excessive server load.
18 // 18 //
(...skipping 21 matching lines...) Expand all
40 bool is_login_tab_; 40 bool is_login_tab_;
41 41
42 // Page is on its first load since being tagged as a login tab. Used to 42 // Page is on its first load since being tagged as a login tab. Used to
43 // prevent a second captive portal check on the first load of the login page. 43 // prevent a second captive portal check on the first load of the login page.
44 bool first_login_tab_load_; 44 bool first_login_tab_load_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(CaptivePortalLoginDetector); 46 DISALLOW_COPY_AND_ASSIGN(CaptivePortalLoginDetector);
47 }; 47 };
48 48
49 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_LOGIN_DETECTOR_H_ 49 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_LOGIN_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_browsertest.cc ('k') | chrome/browser/captive_portal/captive_portal_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698