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

Unified Diff: ios/chrome/browser/ui/omnibox/page_info_model.cc

Issue 2849713003: Move all Page Info strings into page_info_strings.grdp (Closed)
Patch Set: Fix moar. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/omnibox/page_info_model.cc
diff --git a/ios/chrome/browser/ui/omnibox/page_info_model.cc b/ios/chrome/browser/ui/omnibox/page_info_model.cc
index e582cf4abdebc8f8af3f52490f37bdca82eb33de..58421bcfc4a9109edf030f6ffa74eccf5eeb7e76 100644
--- a/ios/chrome/browser/ui/omnibox/page_info_model.cc
+++ b/ios/chrome/browser/ui/omnibox/page_info_model.cc
@@ -68,8 +68,8 @@ PageInfoModel::PageInfoModel(ios::ChromeBrowserState* browser_state,
if (!ssl.certificate) {
// Not HTTPS.
icon_id = ICON_STATE_INFO;
- summary.assign(l10n_util::GetStringUTF16(IDS_PAGEINFO_NOT_SECURE_SUMMARY));
- details.assign(l10n_util::GetStringUTF16(IDS_PAGEINFO_NOT_SECURE_DETAILS));
+ summary.assign(l10n_util::GetStringUTF16(IDS_PAGE_INFO_NOT_SECURE_SUMMARY));
+ details.assign(l10n_util::GetStringUTF16(IDS_PAGE_INFO_NOT_SECURE_DETAILS));
} else {
// It is possible to have |SECURITY_STYLE_AUTHENTICATION_BROKEN| and
// non-error
@@ -83,9 +83,9 @@ PageInfoModel::PageInfoModel(ios::ChromeBrowserState* browser_state,
icon_id = ICON_STATE_ERROR;
DCHECK(!net::IsCertStatusMinorError(ssl.cert_status));
summary.assign(
- l10n_util::GetStringUTF16(IDS_PAGEINFO_NOT_SECURE_SUMMARY));
+ l10n_util::GetStringUTF16(IDS_PAGE_INFO_NOT_SECURE_SUMMARY));
details.assign(
- l10n_util::GetStringUTF16(IDS_PAGEINFO_NOT_SECURE_DETAILS));
+ l10n_util::GetStringUTF16(IDS_PAGE_INFO_NOT_SECURE_DETAILS));
certificate_details.assign(l10n_util::GetStringUTF16(
IDS_PAGE_INFO_SECURITY_TAB_INSECURE_IDENTITY));
@@ -111,14 +111,14 @@ PageInfoModel::PageInfoModel(ios::ChromeBrowserState* browser_state,
// HTTPS with mixed content.
icon_id = ICON_STATE_INFO;
summary.assign(
- l10n_util::GetStringUTF16(IDS_PAGEINFO_MIXED_CONTENT_SUMMARY));
+ l10n_util::GetStringUTF16(IDS_PAGE_INFO_MIXED_CONTENT_SUMMARY));
details.assign(
- l10n_util::GetStringUTF16(IDS_PAGEINFO_MIXED_CONTENT_DETAILS));
+ l10n_util::GetStringUTF16(IDS_PAGE_INFO_MIXED_CONTENT_DETAILS));
} else {
// Valid HTTPS
icon_id = ICON_STATE_OK;
- summary.assign(l10n_util::GetStringUTF16(IDS_PAGEINFO_SECURE_SUMMARY));
- details.assign(l10n_util::GetStringUTF16(IDS_PAGEINFO_SECURE_DETAILS));
+ summary.assign(l10n_util::GetStringUTF16(IDS_PAGE_INFO_SECURE_SUMMARY));
+ details.assign(l10n_util::GetStringUTF16(IDS_PAGE_INFO_SECURE_DETAILS));
DCHECK(!(ssl.cert_status & net::CERT_STATUS_IS_EV))
<< "Extended Validation should be disabled";
« no previous file with comments | « ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698