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

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

Issue 7552028: Injected CSS localization fix (see bug no.) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated. Created 9 years, 4 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 114549f7bffbf2dd59487d5365cf06a55adeb0b6..c3eb3bc81628bb8ee5e3d619a75478d0aeaf610e 100644
--- a/chrome/common/extensions/extension_file_util.h
+++ b/chrome/common/extensions/extension_file_util.h
@@ -66,6 +66,13 @@ ExtensionMessageBundle* LoadExtensionMessageBundle(
const std::string& default_locale,
std::string* error);
+// Loads the extension message bundle substitution map. Contains at least
+// extension_id item.
+std::map<std::string, std::string>* LoadExtensionMessageBundleSubstitutionMap(
Mihai Parparita -not on Chrome 2011/08/11 01:58:34 Shouldn't the return type be SubstitutionMap*?
adriansc 2011/08/11 21:25:08 Done.
+ const 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

Powered by Google App Engine
This is Rietveld 408576698