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

Unified Diff: chrome/browser/ui/page_info/page_info_ui.cc

Issue 2844393003: Remove dead Page Info permission strings and associated code. (Closed)
Patch Set: Rebase 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 | « chrome/browser/ui/page_info/page_info_ui.h ('k') | components/page_info_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/page_info/page_info_ui.cc
diff --git a/chrome/browser/ui/page_info/page_info_ui.cc b/chrome/browser/ui/page_info/page_info_ui.cc
index 2ff9c63e849933dd04e175bc1119eee83e0e3f03..69485fce366cda7b1893510112377177c57ab590 100644
--- a/chrome/browser/ui/page_info/page_info_ui.cc
+++ b/chrome/browser/ui/page_info/page_info_ui.cc
@@ -249,21 +249,6 @@ base::string16 PageInfoUI::PermissionTypeToUIString(ContentSettingsType type) {
}
// static
-base::string16 PageInfoUI::PermissionValueToUIString(ContentSetting value) {
- switch (value) {
- case CONTENT_SETTING_ALLOW:
- return l10n_util::GetStringUTF16(IDS_PAGE_INFO_PERMISSION_ALLOW);
- case CONTENT_SETTING_BLOCK:
- return l10n_util::GetStringUTF16(IDS_PAGE_INFO_PERMISSION_BLOCK);
- case CONTENT_SETTING_ASK:
- return l10n_util::GetStringUTF16(IDS_PAGE_INFO_PERMISSION_ASK);
- default:
- NOTREACHED();
- return base::string16();
- }
-}
-
-// static
base::string16 PageInfoUI::PermissionActionToUIString(
Profile* profile,
ContentSettingsType type,
« no previous file with comments | « chrome/browser/ui/page_info/page_info_ui.h ('k') | components/page_info_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698