| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // SecurityInterstitialPage implementation: | 64 // SecurityInterstitialPage implementation: |
| 65 bool ShouldCreateNewNavigation() const override; | 65 bool ShouldCreateNewNavigation() const override; |
| 66 void PopulateInterstitialStrings( | 66 void PopulateInterstitialStrings( |
| 67 base::DictionaryValue* load_time_data) override; | 67 base::DictionaryValue* load_time_data) override; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 void NotifyDenyCertificate(); | 70 void NotifyDenyCertificate(); |
| 71 | 71 |
| 72 base::Callback<void(content::CertificateRequestResultType)> callback_; | 72 base::Callback<void(content::CertificateRequestResultType)> callback_; |
| 73 const net::SSLInfo ssl_info_; | 73 const net::SSLInfo ssl_info_; |
| 74 const base::Time time_triggered_; | |
| 75 const std::unique_ptr<ChromeControllerClient> controller_; | 74 const std::unique_ptr<ChromeControllerClient> controller_; |
| 76 | 75 |
| 77 const std::unique_ptr<CertReportHelper> cert_report_helper_; | 76 const std::unique_ptr<CertReportHelper> cert_report_helper_; |
| 78 const std::unique_ptr<security_interstitials::BadClockUI> bad_clock_ui_; | 77 const std::unique_ptr<security_interstitials::BadClockUI> bad_clock_ui_; |
| 79 | 78 |
| 80 DISALLOW_COPY_AND_ASSIGN(BadClockBlockingPage); | 79 DISALLOW_COPY_AND_ASSIGN(BadClockBlockingPage); |
| 81 }; | 80 }; |
| 82 | 81 |
| 83 #endif // CHROME_BROWSER_SSL_BAD_CLOCK_BLOCKING_PAGE_H_ | 82 #endif // CHROME_BROWSER_SSL_BAD_CLOCK_BLOCKING_PAGE_H_ |
| OLD | NEW |