Index: components/update_client/url_fetcher_downloader.cc |
diff --git a/components/update_client/url_fetcher_downloader.cc b/components/update_client/url_fetcher_downloader.cc |
index 6a74d881263a3f0a424984eab5ee34c316440db5..8191c9d36d5f2f99969d92d699dd5a8590ba0f7b 100644 |
--- a/components/update_client/url_fetcher_downloader.cc |
+++ b/components/update_client/url_fetcher_downloader.cc |
@@ -46,7 +46,7 @@ void UrlFetcherDownloader::DoStartDownload(const GURL& url) { |
VLOG(1) << "Starting background download: " << url.spec(); |
url_fetcher_->Start(); |
- download_start_time_ = base::Time::Now(); |
+ download_start_time_ = base::TimeTicks::Now(); |
downloaded_bytes_ = -1; |
total_bytes_ = -1; |
@@ -55,7 +55,7 @@ void UrlFetcherDownloader::DoStartDownload(const GURL& url) { |
void UrlFetcherDownloader::OnURLFetchComplete(const net::URLFetcher* source) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
- const base::Time download_end_time(base::Time::Now()); |
+ const base::TimeTicks download_end_time(base::TimeTicks::Now()); |
const base::TimeDelta download_time = |
download_end_time >= download_start_time_ |
? download_end_time - download_start_time_ |