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

Unified Diff: components/component_updater/crx_downloader.h

Issue 590333002: Replace usage of basictypes.h with a combination of stdint.h and base/macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 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: components/component_updater/crx_downloader.h
diff --git a/components/component_updater/crx_downloader.h b/components/component_updater/crx_downloader.h
index 448c84ac777d8ed8510584122ce4063433d393b2..4a421f2dd2a8d4ed6c14df3e261406167dfc0094 100644
--- a/components/component_updater/crx_downloader.h
+++ b/components/component_updater/crx_downloader.h
@@ -5,11 +5,12 @@
#ifndef COMPONENTS_COMPONENT_UPDATER_CRX_DOWNLOADER_H_
#define COMPONENTS_COMPONENT_UPDATER_CRX_DOWNLOADER_H_
+#include <stdint.h>
#include <vector>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
@@ -49,10 +50,10 @@ class CrxDownloader {
int error;
- int64 downloaded_bytes; // -1 means that the byte count is unknown.
- int64 total_bytes;
+ int64_t downloaded_bytes; // -1 means that the byte count is unknown.
+ int64_t total_bytes;
- uint64 download_time_ms;
+ uint64_t download_time_ms;
};
// Contains the progress or the outcome of the download.
@@ -67,10 +68,10 @@ class CrxDownloader {
// Number of bytes actually downloaded, not including the bytes downloaded
// as a result of falling back on urls.
- int64 downloaded_bytes;
+ int64_t downloaded_bytes;
// Number of bytes expected to be downloaded.
- int64 total_bytes;
+ int64_t total_bytes;
};
// The callback fires only once, regardless of how many urls are tried, and
« no previous file with comments | « components/component_updater/component_updater_utils.cc ('k') | components/component_updater/crx_update_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698