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

Unified Diff: chrome/browser/plugins/plugin_finder.h

Issue 10917189: Remove PluginFinder async interface (Closed) Base URL: http://git.chromium.org/chromium/src.git@separate_finder_thread_safety
Patch Set: ... Created 8 years, 3 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
« no previous file with comments | « chrome/browser/pepper_broker_observer.cc ('k') | chrome/browser/plugins/plugin_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_finder.h
diff --git a/chrome/browser/plugins/plugin_finder.h b/chrome/browser/plugins/plugin_finder.h
index a23027455c5e17eb619582230888dce3f135d2d9..b681e50e99d4644f31b3a075edbe5a7f236e4031 100644
--- a/chrome/browser/plugins/plugin_finder.h
+++ b/chrome/browser/plugins/plugin_finder.h
@@ -37,9 +37,6 @@ class PluginFinder {
// It should be called on the UI thread.
void Init();
- // TODO(ibraaaa): DELETE. http://crbug.com/124396
- static void Get(const base::Callback<void(PluginFinder*)>& cb);
-
#if defined(ENABLE_PLUGIN_INSTALLATION)
// Finds a plug-in for the given MIME type and language (specified as an IETF
// language tag, i.e. en-US) and returns the PluginInstaller for the plug-in,
@@ -51,9 +48,8 @@ class PluginFinder {
PluginInstaller* FindPluginWithIdentifier(const std::string& identifier);
#endif
- // Returns the plug-in metadata with the given identifier.
- PluginMetadata* FindPluginMetadataWithIdentifier(
- const std::string& identifier);
+ // Returns the plug-in name with the given identifier.
+ string16 FindPluginNameWithIdentifier(const std::string& identifier);
// Gets plug-in metadata using |plugin|.
PluginMetadata* GetPluginMetadata(const webkit::WebPluginInfo& plugin);
« no previous file with comments | « chrome/browser/pepper_broker_observer.cc ('k') | chrome/browser/plugins/plugin_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698