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

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: 2nd CL in series to delete PluginGroup. 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..9fdabc01e1d7d6ccc6c63be020297e9d7725dc64 100644
--- a/chrome/browser/plugin_finder.h
+++ b/chrome/browser/plugin_finder.h
@@ -34,8 +34,15 @@ class PluginFinder {
// Returns the plug-in with the given identifier.
PluginInstaller* FindPluginWithIdentifier(const std::string& identifier);
+ // Returns a map of all data loaded from plug-in metadata files.
+ // The key is the plug-in identifier.
+ // The value is an instance of PluginInstaller holding the loaded data.
+ // Note: this method triggers the lazy initialization for all PluginInstallers
+ const std::map<std::string, PluginInstaller*>& GetAllPluginInstallers();
+
private:
friend struct DefaultSingletonTraits<PluginFinder>;
+ friend class PluginInstaller;
friend class Singleton<PluginFinder>;
FRIEND_TEST_ALL_PREFIXES(PluginFinderTest, JsonSyntax);
FRIEND_TEST_ALL_PREFIXES(PluginFinderTest, PluginGroups);

Powered by Google App Engine
This is Rietveld 408576698