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

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

Issue 228073005: Move core extensions l10n code to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unused header is unused Created 6 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
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 7139600ccd305a30328000aa4869b91260330d94..4a94687772565e6731b0b928f56ec8b3e42c6462 100644
--- a/chrome/common/extensions/extension_file_util.h
+++ b/chrome/common/extensions/extension_file_util.h
@@ -10,7 +10,6 @@
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
-#include "chrome/common/extensions/message_bundle.h"
#include "extensions/common/manifest.h"
class ExtensionIconSet;
@@ -22,7 +21,6 @@ class FilePath;
namespace extensions {
class Extension;
-class MessageBundle;
struct InstallWarning;
}
@@ -94,20 +92,6 @@ std::set<base::FilePath> GetBrowserImagePaths(
std::vector<base::FilePath> FindPrivateKeyFiles(
const base::FilePath& extension_dir);
-// Loads extension message catalogs and returns message bundle.
-// Returns NULL on error, or if extension is not localized.
-extensions::MessageBundle* LoadMessageBundle(
- const base::FilePath& extension_path,
- const std::string& default_locale,
- std::string* error);
-
-// Loads the extension message bundle substitution map. Contains at least
-// extension_id item.
-extensions::MessageBundle::SubstitutionMap* LoadMessageBundleSubstitutionMap(
- const base::FilePath& extension_path,
- const std::string& extension_id,
- const std::string& default_locale);
-
// We need to reserve the namespace of entries that start with "_" for future
// use by Chrome.
// If any files or directories are found using "_" prefix and are not on
« no previous file with comments | « chrome/common/extensions/api/i18n/default_locale_handler.cc ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698