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_SSL_SSL_BLOCKING_PAGE_H_ | 5 #ifndef CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 6 #define CHROME_BROWSER_SSL_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/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "base/task/cancelable_task_tracker.h" | 14 #include "base/task/cancelable_task_tracker.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "chrome/browser/interstitials/security_interstitial_page.h" | 16 #include "chrome/browser/interstitials/security_interstitial_page.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/ssl/ssl_cert_reporter.h" | 18 #include "chrome/browser/ssl/ssl_cert_reporter.h" |
19 #include "components/certificate_reporting/error_report.h" | 19 #include "components/certificate_reporting/error_report.h" |
20 #include "content/public/browser/certificate_request_result_type.h" | 20 #include "content/public/browser/certificate_request_result_type.h" |
21 #include "extensions/features/features.h" | 21 #include "extensions/features/features.h" |
22 #include "net/ssl/ssl_info.h" | 22 #include "net/ssl/ssl_info.h" |
23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
24 | 24 |
25 #if BUILDFLAG(ENABLE_EXTENSIONS) | |
26 namespace extensions { | |
27 class ExperienceSamplingEvent; | |
28 } | |
29 #endif | |
30 | |
31 namespace policy { | 25 namespace policy { |
32 class PolicyTest_SSLErrorOverridingDisallowed_Test; | 26 class PolicyTest_SSLErrorOverridingDisallowed_Test; |
33 } | 27 } |
34 | 28 |
35 namespace security_interstitials { | 29 namespace security_interstitials { |
36 class SSLErrorUI; | 30 class SSLErrorUI; |
37 } | 31 } |
38 | 32 |
39 class CertReportHelper; | 33 class CertReportHelper; |
40 class SSLUITest; | 34 class SSLUITest; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // expired. | 111 // expired. |
118 const bool expired_but_previously_allowed_; | 112 const bool expired_but_previously_allowed_; |
119 | 113 |
120 const std::unique_ptr<CertReportHelper> cert_report_helper_; | 114 const std::unique_ptr<CertReportHelper> cert_report_helper_; |
121 const std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; | 115 const std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; |
122 | 116 |
123 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); | 117 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); |
124 }; | 118 }; |
125 | 119 |
126 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 120 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
OLD | NEW |