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

Side by Side Diff: chrome/browser/plugin_updater.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 unified diff | Download patch
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PLUGIN_UPDATER_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_UPDATER_H_
6 #define CHROME_BROWSER_PLUGIN_UPDATER_H_ 6 #define CHROME_BROWSER_PLUGIN_UPDATER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 // Enable or disable a plugin group. 24 // Enable or disable a plugin group.
25 void EnablePluginGroup(bool enable, const string16& group_name); 25 void EnablePluginGroup(bool enable, const string16& group_name);
26 26
27 // Enable or disable a specific plugin file. 27 // Enable or disable a specific plugin file.
28 void EnablePluginFile(bool enable, const FilePath::StringType& file_path); 28 void EnablePluginFile(bool enable, const FilePath::StringType& file_path);
29 29
30 // Disable all plugin groups as defined by the user's preference file. 30 // Disable all plugin groups as defined by the user's preference file.
31 void DisablePluginGroupsFromPrefs(Profile* profile); 31 void DisablePluginGroupsFromPrefs(Profile* profile);
32 32
33 // Disable all plugins groups that are known to be outdated, according to the
34 // information hardcoded in PluginGroup, to make sure that they can't be loaded
35 // on a web page and instead show a UI to update to the latest version.
36 void DisableOutdatedPluginGroups();
37
33 // Write the enable/disable status to the user's preference file. 38 // Write the enable/disable status to the user's preference file.
34 void UpdatePreferences(Profile* profile); 39 void UpdatePreferences(Profile* profile);
35 40
36 } // namespace plugin_updater 41 } // namespace plugin_updater
37 42
38 #endif // CHROME_BROWSER_PLUGIN_UPDATER_H_ 43 #endif // CHROME_BROWSER_PLUGIN_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698