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

Unified Diff: chrome/browser/pepper_flash_settings_manager.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/pepper_flash_settings_manager.cc
===================================================================
--- chrome/browser/pepper_flash_settings_manager.cc (revision 212806)
+++ chrome/browser/pepper_flash_settings_manager.cc (working copy)
@@ -24,12 +24,12 @@
#include "content/public/browser/pepper_flash_settings_helper.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/common/content_constants.h"
+#include "content/public/common/webplugininfo.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_listener.h"
#include "ppapi/proxy/ppapi_messages.h"
#include "url/gurl.h"
#include "webkit/plugins/plugin_constants.h"
-#include "webkit/plugins/webplugininfo.h"
using content::BrowserThread;
@@ -401,7 +401,7 @@
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
DCHECK_EQ(STATE_UNINITIALIZED, state_);
- webkit::WebPluginInfo plugin_info;
+ content::WebPluginInfo plugin_info;
if (!PepperFlashSettingsManager::IsPepperFlashInUse(plugin_prefs_.get(),
&plugin_info)) {
NotifyErrorFromIOThread();
@@ -947,17 +947,17 @@
// static
bool PepperFlashSettingsManager::IsPepperFlashInUse(
PluginPrefs* plugin_prefs,
- webkit::WebPluginInfo* plugin_info) {
+ content::WebPluginInfo* plugin_info) {
if (!plugin_prefs)
return false;
content::PluginService* plugin_service =
content::PluginService::GetInstance();
- std::vector<webkit::WebPluginInfo> plugins;
+ std::vector<content::WebPluginInfo> plugins;
plugin_service->GetPluginInfoArray(
GURL(), kFlashPluginSwfMimeType, false, &plugins, NULL);
- for (std::vector<webkit::WebPluginInfo>::iterator iter = plugins.begin();
+ for (std::vector<content::WebPluginInfo>::iterator iter = plugins.begin();
iter != plugins.end(); ++iter) {
if (iter->is_pepper_plugin() && plugin_prefs->IsPluginEnabled(*iter)) {
if (plugin_info)

Powered by Google App Engine
This is Rietveld 408576698