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

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: Added missing include <algorithm> Created 8 years, 3 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
« no previous file with comments | « chrome/browser/hang_monitor/hung_plugin_action.cc ('k') | content/browser/plugin_data_remover_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_installer.cc
diff --git a/chrome/browser/plugin_installer.cc b/chrome/browser/plugin_installer.cc
index e6449eb87177eaf107301a7ade9ab91f7e91e6a7..2904c5b2ea318a1a419282adf159a7993c0e575b 100644
--- a/chrome/browser/plugin_installer.cc
+++ b/chrome/browser/plugin_installer.cc
@@ -28,6 +28,8 @@
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.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;
@@ -98,7 +100,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");
« no previous file with comments | « chrome/browser/hang_monitor/hung_plugin_action.cc ('k') | content/browser/plugin_data_remover_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698