| Index: components/update_client/action_update_check.cc
|
| diff --git a/components/update_client/action_update_check.cc b/components/update_client/action_update_check.cc
|
| index 8d1cbdb27c369a885c8b985f4c3ab1666efd5b6f..ff625fb00a3e8d5841c5bddb671daf1bfbd38743 100644
|
| --- a/components/update_client/action_update_check.cc
|
| +++ b/components/update_client/action_update_check.cc
|
| @@ -29,8 +29,8 @@ namespace update_client {
|
| namespace {
|
|
|
| // Returns true if the |proposed| version is newer than |current| version.
|
| -bool IsVersionNewer(const Version& current, const std::string& proposed) {
|
| - Version proposed_ver(proposed);
|
| +bool IsVersionNewer(const base::Version& current, const std::string& proposed) {
|
| + base::Version proposed_ver(proposed);
|
| return proposed_ver.IsValid() && current.CompareTo(proposed_ver) < 0;
|
| }
|
|
|
| @@ -70,7 +70,7 @@ void ActionUpdateCheck::Run(UpdateContext* update_context, Callback callback) {
|
| item->crx_urls.clear();
|
| item->crx_diffurls.clear();
|
| item->previous_version = crx_component.version;
|
| - item->next_version = Version();
|
| + item->next_version = base::Version();
|
| item->previous_fp = crx_component.fingerprint;
|
| item->next_fp.clear();
|
| item->on_demand = update_context->is_foreground;
|
| @@ -156,7 +156,7 @@ void ActionUpdateCheck::OnUpdateCheckSucceeded(
|
| }
|
|
|
| // Parse the members of the result and queue an upgrade for this CRX.
|
| - crx->next_version = Version(it->manifest.version);
|
| + crx->next_version = base::Version(it->manifest.version);
|
|
|
| VLOG(1) << "Update found for CRX: " << crx->id;
|
|
|
|
|