| OLD | NEW |
| 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_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
| 6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "chrome/browser/captive_portal/captive_portal_service.h" | 12 #include "chrome/browser/captive_portal/captive_portal_service.h" |
| 13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
| 14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
| 15 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
| 16 #include "content/public/browser/web_contents_user_data.h" | 16 #include "content/public/browser/web_contents_user_data.h" |
| 17 #include "content/public/common/resource_type.h" | 17 #include "content/public/common/resource_type.h" |
| 18 | 18 |
| 19 class GURL; | |
| 20 class Profile; | 19 class Profile; |
| 21 | 20 |
| 22 namespace content { | 21 namespace content { |
| 23 class NavigationHandle; | 22 class NavigationHandle; |
| 24 class WebContents; | 23 class WebContents; |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace net { | 26 namespace net { |
| 28 class SSLInfo; | 27 class SSLInfo; |
| 29 } | 28 } |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // Neither of these will ever be NULL. | 115 // Neither of these will ever be NULL. |
| 117 std::unique_ptr<CaptivePortalTabReloader> tab_reloader_; | 116 std::unique_ptr<CaptivePortalTabReloader> tab_reloader_; |
| 118 std::unique_ptr<CaptivePortalLoginDetector> login_detector_; | 117 std::unique_ptr<CaptivePortalLoginDetector> login_detector_; |
| 119 | 118 |
| 120 content::NotificationRegistrar registrar_; | 119 content::NotificationRegistrar registrar_; |
| 121 | 120 |
| 122 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); | 121 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); |
| 123 }; | 122 }; |
| 124 | 123 |
| 125 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ | 124 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
| OLD | NEW |