| 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 COMPONENTS_SECURITY_INTERSTITIALS_CORE_COMMON_STRING_UTIL_H_ | 5 #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CORE_COMMON_STRING_UTIL_H_ |
| 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_COMMON_STRING_UTIL_H_ | 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_COMMON_STRING_UTIL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // For SSL-related errors that share a basic structure. | 23 // For SSL-related errors that share a basic structure. |
| 24 void PopulateSSLLayoutStrings(int cert_error, | 24 void PopulateSSLLayoutStrings(int cert_error, |
| 25 base::DictionaryValue* load_time_data); | 25 base::DictionaryValue* load_time_data); |
| 26 | 26 |
| 27 // For SSL-related errors that provide debugging information. | 27 // For SSL-related errors that provide debugging information. |
| 28 void PopulateSSLDebuggingStrings(const net::SSLInfo ssl_info, | 28 void PopulateSSLDebuggingStrings(const net::SSLInfo ssl_info, |
| 29 const base::Time time_triggered, | 29 const base::Time time_triggered, |
| 30 base::DictionaryValue* load_time_data); | 30 base::DictionaryValue* load_time_data); |
| 31 | 31 |
| 32 // For determining whether to use the old or new icon sets. |
| 33 void PopulateNewIconStrings(base::DictionaryValue* load_time_data); |
| 34 |
| 32 } // common_string_util | 35 } // common_string_util |
| 33 | 36 |
| 34 } // namespace security_interstitials | 37 } // namespace security_interstitials |
| 35 | 38 |
| 36 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_COMMON_STRING_UTIL_H_ | 39 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_COMMON_STRING_UTIL_H_ |
| OLD | NEW |