Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 1812673002: MD Settings: Certificate manager, error dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@certificate_decrypt_dialog
Patch Set: Nit Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/settings/certificates_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 {"certificateManagerEncryptPasswordTitle", 249 {"certificateManagerEncryptPasswordTitle",
250 IDS_SETTINGS_CERTIFICATE_MANAGER_ENCRYPT_PASSWORD_TITLE}, 250 IDS_SETTINGS_CERTIFICATE_MANAGER_ENCRYPT_PASSWORD_TITLE},
251 {"certificateManagerDecryptPasswordTitle", 251 {"certificateManagerDecryptPasswordTitle",
252 IDS_SETTINGS_CERTIFICATE_MANAGER_DECRYPT_PASSWORD_TITLE}, 252 IDS_SETTINGS_CERTIFICATE_MANAGER_DECRYPT_PASSWORD_TITLE},
253 {"certificateManagerEncryptPasswordDescription", 253 {"certificateManagerEncryptPasswordDescription",
254 IDS_SETTINGS_CERTIFICATE_MANAGER_ENCRYPT_PASSWORD_DESCRIPTION}, 254 IDS_SETTINGS_CERTIFICATE_MANAGER_ENCRYPT_PASSWORD_DESCRIPTION},
255 {"certificateManagerPassword", 255 {"certificateManagerPassword",
256 IDS_SETTINGS_CERTIFICATE_MANAGER_PASSWORD}, 256 IDS_SETTINGS_CERTIFICATE_MANAGER_PASSWORD},
257 {"certificateManagerConfirmPassword", 257 {"certificateManagerConfirmPassword",
258 IDS_SETTINGS_CERTIFICATE_MANAGER_CONFIRM_PASSWORD}, 258 IDS_SETTINGS_CERTIFICATE_MANAGER_CONFIRM_PASSWORD},
259 {"certificateImportErrorFormat",
260 IDS_SETTINGS_CERTIFICATE_MANAGER_IMPORT_ERROR_FORMAT},
259 }; 261 };
260 AddLocalizedStringsBulk(html_source, localized_strings, 262 AddLocalizedStringsBulk(html_source, localized_strings,
261 arraysize(localized_strings)); 263 arraysize(localized_strings));
262 } 264 }
263 265
264 void AddClearBrowsingDataStrings(content::WebUIDataSource* html_source) { 266 void AddClearBrowsingDataStrings(content::WebUIDataSource* html_source) {
265 LocalizedString localized_strings[] = { 267 LocalizedString localized_strings[] = {
266 {"clearFollowingItemsFrom", IDS_SETTINGS_CLEAR_FOLLOWING_ITEMS_FROM}, 268 {"clearFollowingItemsFrom", IDS_SETTINGS_CLEAR_FOLLOWING_ITEMS_FROM},
267 {"clearBrowsingHistory", IDS_SETTINGS_CLEAR_BROWSING_HISTORY}, 269 {"clearBrowsingHistory", IDS_SETTINGS_CLEAR_BROWSING_HISTORY},
268 {"clearDownloadHistory", IDS_SETTINGS_CLEAR_DOWNLOAD_HISTORY}, 270 {"clearDownloadHistory", IDS_SETTINGS_CLEAR_DOWNLOAD_HISTORY},
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 #endif 895 #endif
894 AddUsersStrings(html_source); 896 AddUsersStrings(html_source);
895 AddWebContentStrings(html_source); 897 AddWebContentStrings(html_source);
896 898
897 policy_indicator::AddLocalizedStrings(html_source); 899 policy_indicator::AddLocalizedStrings(html_source);
898 900
899 html_source->SetJsonPath(kLocalizedStringsFile); 901 html_source->SetJsonPath(kLocalizedStringsFile);
900 } 902 }
901 903
902 } // namespace settings 904 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/certificates_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698