summaryrefslogtreecommitdiffstats
path: root/extensions/browser/updater
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-08-18 17:05:02 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-19 00:05:48 +0000
commit9c2f5dc9c732beb936b41d073bf5ec7adefb0872 (patch)
tree04fd20b865ebe0f651704151cf2483bb9b73756d /extensions/browser/updater
parent6eb8e3d0ac1bb45c7f852c69c7c7a10e883dcc4e (diff)
downloadchromium_src-9c2f5dc9c732beb936b41d073bf5ec7adefb0872.zip
chromium_src-9c2f5dc9c732beb936b41d073bf5ec7adefb0872.tar.gz
chromium_src-9c2f5dc9c732beb936b41d073bf5ec7adefb0872.tar.bz2
base: Remove using:: declaration from version.h header.
BUG=None R=brettw@chromium.org Review URL: https://codereview.chromium.org/1281313003 Cr-Commit-Position: refs/heads/master@{#344088}
Diffstat (limited to 'extensions/browser/updater')
-rw-r--r--extensions/browser/updater/extension_downloader.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/browser/updater/extension_downloader.cc b/extensions/browser/updater/extension_downloader.cc
index d1d6468..eebe259 100644
--- a/extensions/browser/updater/extension_downloader.cc
+++ b/extensions/browser/updater/extension_downloader.cc
@@ -146,9 +146,9 @@ bool IncrementAuthUserIndex(GURL* url) {
} // namespace
-UpdateDetails::UpdateDetails(const std::string& id, const Version& version)
- : id(id), version(version) {
-}
+UpdateDetails::UpdateDetails(const std::string& id,
+ const base::Version& version)
+ : id(id), version(version) {}
UpdateDetails::~UpdateDetails() {
}
@@ -232,7 +232,7 @@ bool ExtensionDownloader::AddPendingExtension(const std::string& id,
// Use a zero version to ensure that a pending extension will always
// be updated, and thus installed (assuming all extensions have
// non-zero versions).
- Version version("0.0.0.0");
+ base::Version version("0.0.0.0");
DCHECK(version.IsValid());
return AddExtensionData(id,
@@ -296,7 +296,7 @@ void ExtensionDownloader::SetWebstoreIdentityProvider(
bool ExtensionDownloader::AddExtensionData(
const std::string& id,
- const Version& version,
+ const base::Version& version,
Manifest::Type extension_type,
const GURL& extension_update_url,
const std::string& update_url_data,
@@ -661,8 +661,8 @@ void ExtensionDownloader::DetermineUpdates(
// We should skip the version check if update was forced.
if (!fetch_data.DidForceUpdate(id)) {
- Version existing_version(version);
- Version update_version(update->version);
+ base::Version existing_version(version);
+ base::Version update_version(update->version);
if (!update_version.IsValid() ||
update_version.CompareTo(existing_version) <= 0) {
continue;
@@ -878,7 +878,7 @@ void ExtensionDownloader::NotifyExtensionsDownloadFailed(
void ExtensionDownloader::NotifyUpdateFound(const std::string& id,
const std::string& version) {
- UpdateDetails updateInfo(id, Version(version));
+ UpdateDetails updateInfo(id, base::Version(version));
content::NotificationService::current()->Notify(
extensions::NOTIFICATION_EXTENSION_UPDATE_FOUND,
content::NotificationService::AllBrowserContextsAndSources(),