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/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/browser/interstitials/security_interstitial_page.h" | 15 #include "chrome/browser/interstitials/security_interstitial_page.h" |
16 #include "net/ssl/ssl_info.h" | 16 #include "net/ssl/ssl_info.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
18 | 18 |
| 19 // Constants for the HTTPSErrorReporter Finch experiment |
| 20 extern const char kHTTPSErrorReporterFinchExperimentName[]; |
| 21 extern const char kHTTPSErrorReporterFinchGroupShowPossiblySend[]; |
| 22 extern const char kHTTPSErrorReporterFinchGroupDontShowDontSend[]; |
| 23 extern const char kHTTPSErrorReporterFinchParamName[]; |
| 24 |
19 #if defined(ENABLE_EXTENSIONS) | 25 #if defined(ENABLE_EXTENSIONS) |
20 namespace extensions { | 26 namespace extensions { |
21 class ExperienceSamplingEvent; | 27 class ExperienceSamplingEvent; |
22 } | 28 } |
23 #endif | 29 #endif |
24 | 30 |
25 class SafeBrowsingUIManager; | 31 class SafeBrowsingUIManager; |
26 class SSLErrorClassification; | 32 class SSLErrorClassification; |
27 | 33 |
28 // This class is responsible for showing/hiding the interstitial page that is | 34 // This class is responsible for showing/hiding the interstitial page that is |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // Which type of interstitial this is. | 140 // Which type of interstitial this is. |
135 enum SSLInterstitialReason { | 141 enum SSLInterstitialReason { |
136 SSL_REASON_SSL, | 142 SSL_REASON_SSL, |
137 SSL_REASON_BAD_CLOCK | 143 SSL_REASON_BAD_CLOCK |
138 } interstitial_reason_; | 144 } interstitial_reason_; |
139 | 145 |
140 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); | 146 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); |
141 }; | 147 }; |
142 | 148 |
143 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 149 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
OLD | NEW |