| 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 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // expired? | 123 // expired? |
| 124 const bool expired_but_previously_allowed_; | 124 const bool expired_but_previously_allowed_; |
| 125 scoped_ptr<SSLErrorClassification> ssl_error_classification_; | 125 scoped_ptr<SSLErrorClassification> ssl_error_classification_; |
| 126 | 126 |
| 127 // The time at which the interstitial was triggered. The interstitial | 127 // The time at which the interstitial was triggered. The interstitial |
| 128 // calculates all times relative to this. | 128 // calculates all times relative to this. |
| 129 const base::Time time_triggered_; | 129 const base::Time time_triggered_; |
| 130 | 130 |
| 131 scoped_ptr<CertReportHelper> cert_report_helper_; | 131 scoped_ptr<CertReportHelper> cert_report_helper_; |
| 132 | 132 |
| 133 // Which type of interstitial this is. | |
| 134 enum SSLInterstitialReason { | |
| 135 SSL_REASON_SSL, | |
| 136 SSL_REASON_BAD_CLOCK | |
| 137 } interstitial_reason_; | |
| 138 | |
| 139 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); | 133 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); |
| 140 }; | 134 }; |
| 141 | 135 |
| 142 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 136 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
| OLD | NEW |