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

Unified Diff: chrome/browser/plugin_finder.h

Issue 10823434: [6] Moves CreateVersionFromString to plugin_utils and updates the callers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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/browser/plugin_finder.h
diff --git a/chrome/browser/plugin_finder.h b/chrome/browser/plugin_finder.h
index f0d75d5c10acbe6612852b7b1fd304e0e8923496..94e57b26982292b29c5aad3fd66ce106ba440413 100644
--- a/chrome/browser/plugin_finder.h
+++ b/chrome/browser/plugin_finder.h
@@ -34,9 +34,16 @@ class PluginFinder {
// Returns the plug-in with the given identifier.
PluginInstaller* FindPluginWithIdentifier(const std::string& identifier);
+ // Returns a map of all data loaded from:
Bernhard Bauer 2012/08/21 12:30:18 Nit: one space too many.
ibraaaa 2012/08/21 14:26:04 Done.
+ // 'chrome/browser/resources/plugin_metadata/plugins_*.json' files.
Bernhard Bauer 2012/08/21 12:30:18 I think we can just refer to the plugin metadata f
ibraaaa 2012/08/21 14:26:04 Done.
+ // The key is the plug-in identifier.
+ // The value is an instance of PluginInstaller holding the loaded data.
+ const std::map<std::string, PluginInstaller*>& GetAllPluginInstallers();
+
private:
friend struct DefaultSingletonTraits<PluginFinder>;
friend class Singleton<PluginFinder>;
+ friend class PluginInstaller;
Bernhard Bauer 2012/08/21 12:30:18 Nit: Move before Singleton to keep this alphabetiz
ibraaaa 2012/08/21 14:26:04 Done.
FRIEND_TEST_ALL_PREFIXES(PluginFinderTest, JsonSyntax);
FRIEND_TEST_ALL_PREFIXES(PluginFinderTest, PluginGroups);

Powered by Google App Engine
This is Rietveld 408576698