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 #include "components/security_interstitials/core/bad_clock_ui.h" | 5 #include "components/security_interstitials/core/bad_clock_ui.h" |
6 | 6 |
7 #include "base/i18n/time_formatting.h" | 7 #include "base/i18n/time_formatting.h" |
8 #include "components/security_interstitials/core/common_string_util.h" | 8 #include "components/security_interstitials/core/common_string_util.h" |
9 #include "components/security_interstitials/core/metrics_helper.h" | 9 #include "components/security_interstitials/core/metrics_helper.h" |
10 #include "grit/components_strings.h" | 10 #include "components/strings/grit/components_strings.h" |
11 #include "ui/base/l10n/l10n_util.h" | 11 #include "ui/base/l10n/l10n_util.h" |
12 | 12 |
13 namespace security_interstitials { | 13 namespace security_interstitials { |
14 | 14 |
15 BadClockUI::BadClockUI(const GURL& request_url, | 15 BadClockUI::BadClockUI(const GURL& request_url, |
16 int cert_error, | 16 int cert_error, |
17 const net::SSLInfo& ssl_info, | 17 const net::SSLInfo& ssl_info, |
18 const base::Time& time_triggered, | 18 const base::Time& time_triggered, |
19 ssl_errors::ClockState clock_state, | 19 ssl_errors::ClockState clock_state, |
20 ControllerClient* controller) | 20 ControllerClient* controller) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 NOTREACHED() << "Unsupported command: " << command; | 121 NOTREACHED() << "Unsupported command: " << command; |
122 case CMD_ERROR: | 122 case CMD_ERROR: |
123 case CMD_TEXT_FOUND: | 123 case CMD_TEXT_FOUND: |
124 case CMD_TEXT_NOT_FOUND: | 124 case CMD_TEXT_NOT_FOUND: |
125 // Commands are only for testing. | 125 // Commands are only for testing. |
126 NOTREACHED() << "Unexpected command: " << command; | 126 NOTREACHED() << "Unexpected command: " << command; |
127 } | 127 } |
128 } | 128 } |
129 | 129 |
130 } // security_interstitials | 130 } // security_interstitials |
OLD | NEW |