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

Unified Diff: chrome/common/extensions/extension_l10n_util.h

Issue 10787002: Moved ExtensionMessage* into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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/common/extensions/extension_file_util.cc ('k') | chrome/common/extensions/extension_l10n_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_l10n_util.h
diff --git a/chrome/common/extensions/extension_l10n_util.h b/chrome/common/extensions/extension_l10n_util.h
index f83c50767279a217b91107140461ffe7ab16a49c..006665a5cc4a530754edaf43ff44771b69172dd0 100644
--- a/chrome/common/extensions/extension_l10n_util.h
+++ b/chrome/common/extensions/extension_l10n_util.h
@@ -11,7 +11,6 @@
#include <string>
#include <vector>
-class ExtensionMessageBundle;
class FilePath;
namespace base {
@@ -20,6 +19,7 @@ class DictionaryValue;
namespace extensions {
struct ExtensionInfo;
+class MessageBundle;
}
namespace extension_l10n_util {
@@ -40,7 +40,7 @@ bool ShouldRelocalizeManifest(const extensions::ExtensionInfo& info);
// Localize extension name, description, browser_action and other fields
// in the manifest.
-bool LocalizeManifest(const ExtensionMessageBundle& messages,
+bool LocalizeManifest(const extensions::MessageBundle& messages,
base::DictionaryValue* manifest,
std::string* error);
@@ -84,7 +84,7 @@ bool GetValidLocales(const FilePath& locale_path,
// parents.
// Returns message bundle if it can load default locale messages file, and all
// messages are valid, else returns NULL and sets error.
-ExtensionMessageBundle* LoadMessageCatalogs(
+extensions::MessageBundle* LoadMessageCatalogs(
const FilePath& locale_path,
const std::string& default_locale,
const std::string& app_locale,
« no previous file with comments | « chrome/common/extensions/extension_file_util.cc ('k') | chrome/common/extensions/extension_l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698