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

Unified Diff: chrome/browser/plugins/plugin_prefs.cc

Issue 19894003: Move webplugininfo.h to content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
Index: chrome/browser/plugins/plugin_prefs.cc
===================================================================
--- chrome/browser/plugins/plugin_prefs.cc (revision 212806)
+++ chrome/browser/plugins/plugin_prefs.cc (working copy)
@@ -31,7 +31,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/plugin_service.h"
-#include "webkit/plugins/webplugininfo.h"
+#include "content/public/common/webplugininfo.h"
using content::BrowserThread;
using content::PluginService;
@@ -110,7 +110,7 @@
void PluginPrefs::EnablePluginGroupInternal(
bool enabled,
const string16& group_name,
- const std::vector<webkit::WebPluginInfo>& plugins) {
+ const std::vector<content::WebPluginInfo>& plugins) {
base::AutoLock auto_lock(lock_);
PluginFinder* finder = PluginFinder::GetInstance();
@@ -135,7 +135,7 @@
bool enabled, const base::FilePath& path,
const base::Callback<void(bool)>& callback) {
PluginFinder* finder = PluginFinder::GetInstance();
- webkit::WebPluginInfo plugin;
+ content::WebPluginInfo plugin;
bool can_enable = true;
if (PluginService::GetInstance()->GetPluginInfoByPath(path, &plugin)) {
scoped_ptr<PluginMetadata> plugin_metadata(
@@ -169,7 +169,7 @@
const base::FilePath& path,
PluginFinder* plugin_finder,
const base::Callback<void(bool)>& callback,
- const std::vector<webkit::WebPluginInfo>& plugins) {
+ const std::vector<content::WebPluginInfo>& plugins) {
{
// Set the desired state for the plug-in.
base::AutoLock auto_lock(lock_);
@@ -225,7 +225,7 @@
}
}
-bool PluginPrefs::IsPluginEnabled(const webkit::WebPluginInfo& plugin) const {
+bool PluginPrefs::IsPluginEnabled(const content::WebPluginInfo& plugin) const {
scoped_ptr<PluginMetadata> plugin_metadata(
PluginFinder::GetInstance()->GetPluginMetadata(plugin));
string16 group_name = plugin_metadata->name();
@@ -522,7 +522,7 @@
}
void PluginPrefs::OnUpdatePreferences(
- const std::vector<webkit::WebPluginInfo>& plugins) {
+ const std::vector<content::WebPluginInfo>& plugins) {
if (!prefs_)
return;

Powered by Google App Engine
This is Rietveld 408576698