| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BAD_CLOCK_BLOCKING_PAGE_H_ | 5 #ifndef CHROME_BROWSER_SSL_BAD_CLOCK_BLOCKING_PAGE_H_ |
| 6 #define CHROME_BROWSER_SSL_BAD_CLOCK_BLOCKING_PAGE_H_ | 6 #define CHROME_BROWSER_SSL_BAD_CLOCK_BLOCKING_PAGE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // SecurityInterstitialPage implementation: | 59 // SecurityInterstitialPage implementation: |
| 60 bool ShouldCreateNewNavigation() const override; | 60 bool ShouldCreateNewNavigation() const override; |
| 61 void PopulateInterstitialStrings( | 61 void PopulateInterstitialStrings( |
| 62 base::DictionaryValue* load_time_data) override; | 62 base::DictionaryValue* load_time_data) override; |
| 63 void AfterShow() override; | 63 void AfterShow() override; |
| 64 | 64 |
| 65 private: | 65 private: |
| 66 void NotifyDenyCertificate(); | 66 void NotifyDenyCertificate(); |
| 67 | 67 |
| 68 base::Callback<void(bool)> callback_; | 68 base::Callback<void(bool)> callback_; |
| 69 const int cert_error_; | |
| 70 const net::SSLInfo ssl_info_; | 69 const net::SSLInfo ssl_info_; |
| 71 const base::Time time_triggered_; | 70 const base::Time time_triggered_; |
| 72 scoped_ptr<ChromeControllerClient> controller_; | 71 scoped_ptr<ChromeControllerClient> controller_; |
| 73 | 72 |
| 74 scoped_ptr<security_interstitials::BadClockUI> bad_clock_ui_; | 73 scoped_ptr<security_interstitials::BadClockUI> bad_clock_ui_; |
| 75 scoped_ptr<CertReportHelper> cert_report_helper_; | 74 scoped_ptr<CertReportHelper> cert_report_helper_; |
| 76 | 75 |
| 77 DISALLOW_COPY_AND_ASSIGN(BadClockBlockingPage); | 76 DISALLOW_COPY_AND_ASSIGN(BadClockBlockingPage); |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 #endif // CHROME_BROWSER_SSL_BAD_CLOCK_BLOCKING_PAGE_H_ | 79 #endif // CHROME_BROWSER_SSL_BAD_CLOCK_BLOCKING_PAGE_H_ |
| OLD | NEW |