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

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

Issue 2655583002: MD Settings: Certificates: Add 'Import and bind' button for CrOS (Closed)
Patch Set: . Created 3 years, 11 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
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/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 {"certificateManagerAuthorities", 403 {"certificateManagerAuthorities",
404 IDS_SETTINGS_CERTIFICATE_MANAGER_AUTHORITIES}, 404 IDS_SETTINGS_CERTIFICATE_MANAGER_AUTHORITIES},
405 {"certificateManagerAuthoritiesDescription", 405 {"certificateManagerAuthoritiesDescription",
406 IDS_SETTINGS_CERTIFICATE_MANAGER_AUTHORITIES_DESCRIPTION}, 406 IDS_SETTINGS_CERTIFICATE_MANAGER_AUTHORITIES_DESCRIPTION},
407 {"certificateManagerOthers", IDS_SETTINGS_CERTIFICATE_MANAGER_OTHERS}, 407 {"certificateManagerOthers", IDS_SETTINGS_CERTIFICATE_MANAGER_OTHERS},
408 {"certificateManagerOthersDescription", 408 {"certificateManagerOthersDescription",
409 IDS_SETTINGS_CERTIFICATE_MANAGER_OTHERS_DESCRIPTION}, 409 IDS_SETTINGS_CERTIFICATE_MANAGER_OTHERS_DESCRIPTION},
410 {"certificateManagerView", IDS_SETTINGS_CERTIFICATE_MANAGER_VIEW}, 410 {"certificateManagerView", IDS_SETTINGS_CERTIFICATE_MANAGER_VIEW},
411 {"certificateManagerEdit", IDS_SETTINGS_CERTIFICATE_MANAGER_EDIT}, 411 {"certificateManagerEdit", IDS_SETTINGS_CERTIFICATE_MANAGER_EDIT},
412 {"certificateManagerImport", IDS_SETTINGS_CERTIFICATE_MANAGER_IMPORT}, 412 {"certificateManagerImport", IDS_SETTINGS_CERTIFICATE_MANAGER_IMPORT},
413 #if defined(OS_CHROMEOS)
413 {"certificateManagerImportAndBind", 414 {"certificateManagerImportAndBind",
414 IDS_SETTINGS_CERTIFICATE_MANAGER_IMPORT_AND_BIND}, 415 IDS_SETTINGS_CERTIFICATE_MANAGER_IMPORT_AND_BIND},
416 #endif
415 {"certificateManagerExport", IDS_SETTINGS_CERTIFICATE_MANAGER_EXPORT}, 417 {"certificateManagerExport", IDS_SETTINGS_CERTIFICATE_MANAGER_EXPORT},
416 {"certificateManagerDelete", IDS_SETTINGS_CERTIFICATE_MANAGER_DELETE}, 418 {"certificateManagerDelete", IDS_SETTINGS_CERTIFICATE_MANAGER_DELETE},
417 {"certificateManagerDone", IDS_SETTINGS_CERTIFICATE_MANAGER_DONE}, 419 {"certificateManagerDone", IDS_SETTINGS_CERTIFICATE_MANAGER_DONE},
418 {"certificateManagerUntrusted", 420 {"certificateManagerUntrusted",
419 IDS_SETTINGS_CERTIFICATE_MANAGER_UNTRUSTED}, 421 IDS_SETTINGS_CERTIFICATE_MANAGER_UNTRUSTED},
420 // CA trust edit dialog. 422 // CA trust edit dialog.
421 {"certificateManagerCaTrustEditDialogTitle", 423 {"certificateManagerCaTrustEditDialogTitle",
422 IDS_SETTINGS_CERTIFICATE_MANAGER_CA_TRUST_EDIT_DIALOG_TITLE}, 424 IDS_SETTINGS_CERTIFICATE_MANAGER_CA_TRUST_EDIT_DIALOG_TITLE},
423 {"certificateManagerCaTrustEditDialogDescription", 425 {"certificateManagerCaTrustEditDialogDescription",
424 IDS_SETTINGS_CERTIFICATE_MANAGER_CA_TRUST_EDIT_DIALOG_DESCRIPTION}, 426 IDS_SETTINGS_CERTIFICATE_MANAGER_CA_TRUST_EDIT_DIALOG_DESCRIPTION},
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1867 1869
1868 #if defined(OS_CHROMEOS) 1870 #if defined(OS_CHROMEOS)
1869 chromeos::network_element::AddLocalizedStrings(html_source); 1871 chromeos::network_element::AddLocalizedStrings(html_source);
1870 #endif 1872 #endif
1871 policy_indicator::AddLocalizedStrings(html_source); 1873 policy_indicator::AddLocalizedStrings(html_source);
1872 1874
1873 html_source->SetJsonPath(kLocalizedStringsFile); 1875 html_source->SetJsonPath(kLocalizedStringsFile);
1874 } 1876 }
1875 1877
1876 } // namespace settings 1878 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698