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

Unified Diff: chrome/common/extensions/extension_file_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/chrome_tests.gypi ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_file_util.h
diff --git a/chrome/common/extensions/extension_file_util.h b/chrome/common/extensions/extension_file_util.h
index e783ca18741ab1c7f6fe1e368473f3e457647237..ce963a478d85ce6b27c7e1984e3a318aa6dcdce3 100644
--- a/chrome/common/extensions/extension_file_util.h
+++ b/chrome/common/extensions/extension_file_util.h
@@ -9,15 +9,19 @@
#include <map>
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/extensions/extension_message_bundle.h"
+#include "chrome/common/extensions/message_bundle.h"
-class ExtensionMessageBundle;
class FilePath;
class GURL;
+
namespace base {
class DictionaryValue;
}
+namespace extensions {
+class MessageBundle;
+}
+
// Utilities for manipulating the on-disk storage of extensions.
namespace extension_file_util {
@@ -86,15 +90,14 @@ void GarbageCollectExtensions(
// Loads extension message catalogs and returns message bundle.
// Returns NULL on error, or if extension is not localized.
-ExtensionMessageBundle* LoadExtensionMessageBundle(
+extensions::MessageBundle* LoadMessageBundle(
const FilePath& extension_path,
const std::string& default_locale,
std::string* error);
// Loads the extension message bundle substitution map. Contains at least
// extension_id item.
-ExtensionMessageBundle::SubstitutionMap*
- LoadExtensionMessageBundleSubstitutionMap(
+extensions::MessageBundle::SubstitutionMap* LoadMessageBundleSubstitutionMap(
const FilePath& extension_path,
const std::string& extension_id,
const std::string& default_locale);
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698