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

Unified Diff: extensions/common/extension_l10n_util.cc

Issue 338473003: Remove media_galleries_handlers - not used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/common/manifest_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_l10n_util.cc
diff --git a/extensions/common/extension_l10n_util.cc b/extensions/common/extension_l10n_util.cc
index 1bea9bd929a30c9d3ed1604592806ce71ad950de..24af4b7f90ab9b0df993a72b2515b507d4d005cd 100644
--- a/extensions/common/extension_l10n_util.cc
+++ b/extensions/common/extension_l10n_util.cc
@@ -184,22 +184,6 @@ bool LocalizeManifest(const extensions::MessageBundle& messages,
}
}
- base::ListValue* media_galleries_handlers = NULL;
- if (manifest->GetList(keys::kMediaGalleriesHandlers,
- &media_galleries_handlers)) {
- key.assign(keys::kMediaGalleriesHandlers);
- for (size_t i = 0; i < media_galleries_handlers->GetSize(); i++) {
- base::DictionaryValue* handler = NULL;
- if (!media_galleries_handlers->GetDictionary(i, &handler)) {
- *error = errors::kInvalidMediaGalleriesHandler;
- return false;
- }
- if (!LocalizeManifestValue(
- keys::kPageActionDefaultTitle, messages, handler, error))
- return false;
- }
- }
-
// Initialize all input_components
base::ListValue* input_components = NULL;
if (manifest->GetList(keys::kInputComponents, &input_components)) {
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/common/manifest_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698