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

Unified Diff: chrome/browser/plugin_installer.cc

Issue 10823434: [6] Moves CreateVersionFromString to plugin_utils and updates the callers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing jam@'s review comments Created 8 years, 4 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/plugin_installer.cc
diff --git a/chrome/browser/plugin_installer.cc b/chrome/browser/plugin_installer.cc
index bcfbecc28a1c8ec5f3d6f4e161b6d66bd7c8f229..360094ee4162251debb5983fd084a998868f8035 100644
--- a/chrome/browser/plugin_installer.cc
+++ b/chrome/browser/plugin_installer.cc
@@ -26,7 +26,8 @@
#include "content/public/browser/resource_dispatcher_host.h"
#include "content/public/browser/web_contents.h"
#include "net/url_request/url_request.h"
-#include "webkit/plugins/npapi/plugin_group.h"
+#include "webkit/plugins/npapi/plugin_utils.h"
+#include "webkit/plugins/webplugininfo.h"
using content::BrowserContext;
using content::BrowserThread;
@@ -97,7 +98,7 @@ PluginInstaller::SecurityStatus PluginInstaller::GetSecurityStatus(
return SECURITY_STATUS_REQUIRES_AUTHORIZATION;
Version version;
- webkit::npapi::PluginGroup::CreateVersionFromString(plugin.version, &version);
+ webkit::npapi::CreateVersionFromString(plugin.version, &version);
if (!version.IsValid())
version = Version("0");

Powered by Google App Engine
This is Rietveld 408576698