Index: chrome/browser/plugins/plugin_metadata.cc |
diff --git a/chrome/browser/plugins/plugin_metadata.cc b/chrome/browser/plugins/plugin_metadata.cc |
index b28c284f091306b7b5b78424043201f6e40599d3..87b4418a9a0132321e1ae87acbd5a34365bc829a 100644 |
--- a/chrome/browser/plugins/plugin_metadata.cc |
+++ b/chrome/browser/plugins/plugin_metadata.cc |
@@ -42,7 +42,7 @@ |
PluginMetadata::~PluginMetadata() { |
} |
-void PluginMetadata::AddVersion(const base::Version& version, |
+void PluginMetadata::AddVersion(const Version& version, |
SecurityStatus status) { |
DCHECK(versions_.find(version) == versions_.end()); |
versions_[version] = status; |
@@ -100,14 +100,14 @@ |
return SECURITY_STATUS_REQUIRES_AUTHORIZATION; |
} |
- base::Version version; |
+ Version version; |
content::WebPluginInfo::CreateVersionFromString(plugin.version, &version); |
if (!version.IsValid()) |
- version = base::Version("0"); |
+ version = Version("0"); |
// |lower_bound| returns the latest version that is not newer than |version|. |
- std::map<base::Version, SecurityStatus, VersionComparator>::const_iterator |
- it = versions_.lower_bound(version); |
+ std::map<Version, SecurityStatus, VersionComparator>::const_iterator it = |
+ versions_.lower_bound(version); |
// If there is at least one version defined, everything older than the oldest |
// defined version is considered out-of-date. |
if (it == versions_.end()) |
@@ -116,9 +116,8 @@ |
return it->second; |
} |
-bool PluginMetadata::VersionComparator::operator()( |
- const base::Version& lhs, |
- const base::Version& rhs) const { |
+bool PluginMetadata::VersionComparator::operator() (const Version& lhs, |
+ const Version& rhs) const { |
// Keep versions ordered by newest (biggest) first. |
return lhs.CompareTo(rhs) > 0; |
} |