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

Unified Diff: chrome/browser/extensions/pending_extension_manager.cc

Issue 1281313003: base: Remove using:: declaration from version.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 5 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/extensions/pending_extension_manager.cc
diff --git a/chrome/browser/extensions/pending_extension_manager.cc b/chrome/browser/extensions/pending_extension_manager.cc
index 7d0546210b9b43dd92819b87236f6896b7ccbc98..2958ed19edfe462b5076f7f70283039728def01b 100644
--- a/chrome/browser/extensions/pending_extension_manager.cc
+++ b/chrome/browser/extensions/pending_extension_manager.cc
@@ -25,7 +25,7 @@ bool AlwaysInstall(const extensions::Extension* extension) {
return true;
}
-std::string GetVersionString(const Version& version) {
+std::string GetVersionString(const base::Version& version) {
return version.IsValid() ? version.GetString() : "invalid";
}
@@ -121,7 +121,7 @@ bool PendingExtensionManager::AddFromSync(
return AddExtensionImpl(id,
std::string(),
update_url,
- Version(),
+ base::Version(),
should_allow_install,
kIsFromSync,
kSyncLocation,
@@ -151,7 +151,7 @@ bool PendingExtensionManager::AddFromExtensionImport(
return AddExtensionImpl(id,
std::string(),
update_url,
- Version(),
+ base::Version(),
should_allow_install,
kIsFromSync,
kManifestLocation,
@@ -192,7 +192,7 @@ bool PendingExtensionManager::AddFromExternalUpdateUrl(
return AddExtensionImpl(id,
install_parameter,
update_url,
- Version(),
+ base::Version(),
&AlwaysInstall,
kIsFromSync,
location,
@@ -201,11 +201,10 @@ bool PendingExtensionManager::AddFromExternalUpdateUrl(
kRemoteInstall);
}
-
bool PendingExtensionManager::AddFromExternalFile(
const std::string& id,
Manifest::Location install_source,
- const Version& version,
+ const base::Version& version,
int creation_flags,
bool mark_acknowledged) {
// TODO(skerner): AddFromSync() checks to see if the extension is
@@ -253,7 +252,7 @@ bool PendingExtensionManager::AddExtensionImpl(
const std::string& id,
const std::string& install_parameter,
const GURL& update_url,
- const Version& version,
+ const base::Version& version,
PendingExtensionInfo::ShouldAllowInstallPredicate should_allow_install,
bool is_from_sync,
Manifest::Location install_source,
« no previous file with comments | « chrome/browser/extensions/pending_extension_info.cc ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698