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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 2258263002: Consistently use namespaced base::Version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased against master. Created 4 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
« no previous file with comments | « chrome/browser/upgrade_detector_impl.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 483c3c85ea823bb6b1260f7b3e1fab8ea3f2b92b..92a23fb892bf60837489d184c5dfb20e4f3104a8 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -399,7 +399,7 @@ bool GetSystemPepperFlash(content::PepperPluginInfo* plugin) {
if (!manifest_value->GetAsDictionary(&manifest))
return false;
- Version version;
+ base::Version version;
if (!chrome::CheckPepperFlashManifest(*manifest, &version))
return false;
@@ -501,7 +501,7 @@ content::PepperPluginInfo* ChromeContentClient::FindMostRecentPlugin(
std::map<PluginSortKey, content::PepperPluginInfo*> plugin_map;
for (auto* plugin : plugins) {
- Version version(plugin->version);
+ base::Version version(plugin->version);
DCHECK(version.IsValid());
plugin_map[PluginSortKey(version, plugin->is_debug,
plugin->is_bundled, plugin->is_on_local_drive,
« no previous file with comments | « chrome/browser/upgrade_detector_impl.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698