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

Unified Diff: chrome/browser/plugin_service.h

Issue 2967007: Disable outdated plugins, block non-sandboxed plugins. (Closed)
Patch Set: '' Created 10 years, 5 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/blocked_plugin_manager.cc ('k') | chrome/browser/plugin_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_service.h
diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h
index 0d90bd45bc80aca70c47897ec7d1ec8eb9c468e0..18b7b4dda98426a309548adf6bc5e410e186eb56 100644
--- a/chrome/browser/plugin_service.h
+++ b/chrome/browser/plugin_service.h
@@ -83,13 +83,9 @@ class PluginService
const std::wstring& locale,
IPC::Message* reply_msg);
- // Get the path to the plugin specified. policy_url is the URL of the page
- // requesting the plugin, so we can verify whether the plugin is allowed
- // on that page.
- FilePath GetPluginPath(const GURL& url,
- const GURL& policy_url,
- const std::string& mime_type,
- std::string* actual_mime_type);
+ // Returns true if the given plugin is allowed to be used by a page with
+ // the given URL.
+ bool PrivatePluginAllowedForURL(const FilePath& plugin_path, const GURL& url);
// The UI thread's message loop
MessageLoop* main_message_loop() { return main_message_loop_; }
@@ -115,10 +111,6 @@ class PluginService
virtual void Observe(NotificationType type, const NotificationSource& source,
const NotificationDetails& details);
- // Returns true if the given plugin is allowed to be used by a page with
- // the given URL.
- bool PluginAllowedForURL(const FilePath& plugin_path, const GURL& url);
-
void RegisterPepperPlugins();
// mapping between plugin path and PluginProcessHost
« no previous file with comments | « chrome/browser/blocked_plugin_manager.cc ('k') | chrome/browser/plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698