OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ | 5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ |
6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ | 6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "components/certificate_reporting/error_report.h" | |
15 #include "ios/chrome/browser/interstitials/ios_security_interstitial_page.h" | 14 #include "ios/chrome/browser/interstitials/ios_security_interstitial_page.h" |
16 #include "net/ssl/ssl_info.h" | 15 #include "net/ssl/ssl_info.h" |
17 | 16 |
18 class IOSChromeControllerClient; | 17 class IOSChromeControllerClient; |
19 class GURL; | 18 class GURL; |
20 | 19 |
21 namespace ios { | 20 namespace ios { |
22 class ChromeBrowserState; | 21 class ChromeBrowserState; |
23 } | 22 } |
24 | 23 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // expired. | 71 // expired. |
73 const bool expired_but_previously_allowed_; | 72 const bool expired_but_previously_allowed_; |
74 | 73 |
75 std::unique_ptr<IOSChromeControllerClient> controller_; | 74 std::unique_ptr<IOSChromeControllerClient> controller_; |
76 std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; | 75 std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; |
77 | 76 |
78 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage); | 77 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage); |
79 }; | 78 }; |
80 | 79 |
81 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ | 80 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ |
OLD | NEW |