summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-14 05:24:44 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-14 05:24:44 +0000
commit91d9f3d52a1e55a9938416b258e08d3cc445eae4 (patch)
tree41a281011d4ba9e327fb4e167528c99e0faec018 /chrome/browser/browser_about_handler.cc
parent3c8f946c38d15238f5b0793123c06859a8bc2352 (diff)
downloadchromium_src-91d9f3d52a1e55a9938416b258e08d3cc445eae4.zip
chromium_src-91d9f3d52a1e55a9938416b258e08d3cc445eae4.tar.gz
chromium_src-91d9f3d52a1e55a9938416b258e08d3cc445eae4.tar.bz2
Make WebPluginInfo more generic
- To account for pepper plugins, it grows a type field - move WebPluginInfo from webkit::npapi to webkit:: and move the files as well. This will allow us to remove hacks to get pepper plugins to load soon BUG=89248 TEST=none Review URL: http://codereview.chromium.org/7648017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96718 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 9745341..ea28611 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -60,7 +60,7 @@
#include "ui/base/resource/resource_bundle.h"
#include "webkit/glue/webkit_glue.h"
#include "webkit/plugins/npapi/plugin_list.h"
-#include "webkit/plugins/npapi/webplugininfo.h"
+#include "webkit/plugins/webplugininfo.h"
#ifdef CHROME_V8
#include "v8/include/v8.h"
@@ -1108,13 +1108,13 @@ std::string AboutVersionStrings(DictionaryValue* localized_strings,
localized_strings->SetString("js_version", js_version);
// Obtain the version of the first enabled Flash plugin.
- std::vector<webkit::npapi::WebPluginInfo> info_array;
+ std::vector<webkit::WebPluginInfo> info_array;
webkit::npapi::PluginList::Singleton()->GetPluginInfoArray(
GURL(), "application/x-shockwave-flash", false, NULL, &info_array, NULL);
string16 flash_version =
l10n_util::GetStringUTF16(IDS_PLUGINS_DISABLED_PLUGIN);
for (size_t i = 0; i < info_array.size(); ++i) {
- if (webkit::npapi::IsPluginEnabled(info_array[i])) {
+ if (webkit::IsPluginEnabled(info_array[i])) {
flash_version = info_array[i].version;
break;
}