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

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

Issue 7552028: Injected CSS localization fix (see bug no.) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Inserted whitespace. 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_set.h
diff --git a/chrome/common/extensions/extension_set.h b/chrome/common/extensions/extension_set.h
index dbd16ad1ffc8354a225a2812444a8a08f613616e..7fa5271fa6896fc671ce79fc5a9ac9a4bdafbc90 100644
--- a/chrome/common/extensions/extension_set.h
+++ b/chrome/common/extensions/extension_set.h
@@ -57,6 +57,10 @@ class ExtensionSet {
// permissions the given extension has been granted.
bool ExtensionBindingsAllowed(const GURL& url) const;
+ // Populates map with the path and default locale for all extension IDs.
+ void GetExtensionsPathAndDefaultLocale(
Nebojša Ćirić 2011/08/10 20:38:57 Do you need this method? Couldn't you just: make_
adriansc 2011/08/10 23:20:53 This method fills in a map by repeatedly calling m
+ std::map<std::string, std::pair<FilePath, std::string> >& info) const;
Nebojša Ćirić 2011/08/10 20:38:57 You could typedef it here as ExtensionPathAndDefau
adriansc 2011/08/10 23:20:53 Done.
+
private:
FRIEND_TEST_ALL_PREFIXES(ExtensionSetTest, ExtensionSet);

Powered by Google App Engine
This is Rietveld 408576698