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..4232aa7835f3cb81de2605f2a89ff091f7ad8245 100644 |
--- a/chrome/browser/ui/website_settings/website_settings_ui.cc |
+++ b/chrome/browser/ui/website_settings/website_settings_ui.cc |
@@ -257,6 +257,7 @@ int WebsiteSettingsUI::GetIdentityIconID( |
int resource_id = IDR_PAGEINFO_INFO; |
switch (status) { |
case WebsiteSettings::SITE_IDENTITY_STATUS_UNKNOWN: |
+ case WebsiteSettings::SITE_IDENTITY_STATUS_INTERNAL_PAGE: |
break; |
case WebsiteSettings::SITE_IDENTITY_STATUS_CERT: |
case WebsiteSettings::SITE_IDENTITY_STATUS_EV_CERT: |
@@ -297,6 +298,7 @@ int WebsiteSettingsUI::GetConnectionIconID( |
int resource_id = IDR_PAGEINFO_INFO; |
switch (status) { |
case WebsiteSettings::SITE_CONNECTION_STATUS_UNKNOWN: |
+ case WebsiteSettings::SITE_CONNECTION_STATUS_INTERNAL_PAGE: |
break; |
case WebsiteSettings::SITE_CONNECTION_STATUS_ENCRYPTED: |
resource_id = IDR_PAGEINFO_GOOD; |
@@ -337,25 +339,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; |
- } |
-} |