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

Unified Diff: chrome/browser/ui/website_settings/website_settings_ui.cc

Issue 620983002: Add Permissions to the PageInfo dialog on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page_info_dialog_shell_only_v2
Patch Set: Made copy button close dialog, moved connection message into java, fixed way internal pages are det… Created 6 years, 2 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
Index: chrome/browser/ui/website_settings/website_settings_ui.cc
diff --git a/chrome/browser/ui/website_settings/website_settings_ui.cc b/chrome/browser/ui/website_settings/website_settings_ui.cc
index 123a36dc5133dcefea5fda30954615d9fdd377ee..5fe516f99bc744783274b7e9e1f011bd8e4f5707 100644
--- a/chrome/browser/ui/website_settings/website_settings_ui.cc
+++ b/chrome/browser/ui/website_settings/website_settings_ui.cc
@@ -337,25 +337,3 @@ const gfx::Image& WebsiteSettingsUI::GetFirstVisitIcon(
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
return rb.GetNativeImageNamed(GetFirstVisitIconID(first_visit));
}
-
-// static
-int WebsiteSettingsUI::GetConnectionSummaryMessageID(
- WebsiteSettings::SiteConnectionStatus status) {
- switch (status) {
- case WebsiteSettings::SITE_CONNECTION_STATUS_UNKNOWN:
- return IDS_PAGE_INFO_UNENCRYPTED_CONNECTION_SUMMARY_TEXT;
- case WebsiteSettings::SITE_CONNECTION_STATUS_ENCRYPTED:
- return IDS_PAGE_INFO_ENCRYPTED_CONNECTION_SUMMARY_TEXT;
- case WebsiteSettings::SITE_CONNECTION_STATUS_MIXED_CONTENT:
- return IDS_PAGE_INFO_MIXED_CONTENT_CONNECTION_SUMMARY_TEXT;
- case WebsiteSettings::SITE_CONNECTION_STATUS_UNENCRYPTED:
- return IDS_PAGE_INFO_UNENCRYPTED_CONNECTION_SUMMARY_TEXT;
- case WebsiteSettings::SITE_CONNECTION_STATUS_ENCRYPTED_ERROR:
- return IDS_PAGE_INFO_UNENCRYPTED_CONNECTION_SUMMARY_TEXT;
- case WebsiteSettings::SITE_CONNECTION_STATUS_INTERNAL_PAGE:
- return IDS_PAGE_INFO_INTERNAL_PAGE;
- default:
- NOTREACHED();
- return 0;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698