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

Unified Diff: components/drive/job_list.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « components/drive/file_write_watcher_unittest.cc ('k') | components/drive/job_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/job_list.h
diff --git a/components/drive/job_list.h b/components/drive/job_list.h
index e48caf5e63bf3d7ab934c3dc13a10f513f6f18ae..25fe9a811766fab7a8e43b4d1f6b71505c0db781 100644
--- a/components/drive/job_list.h
+++ b/components/drive/job_list.h
@@ -5,9 +5,10 @@
#ifndef COMPONENTS_DRIVE_JOB_LIST_H_
#define COMPONENTS_DRIVE_JOB_LIST_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/files/file_path.h"
#include "components/drive/file_errors.h"
@@ -56,7 +57,7 @@ enum JobState {
std::string JobStateToString(JobState state);
// Unique ID assigned to each job.
-typedef int32 JobID;
+typedef int32_t JobID;
// Information about a specific job that is visible to other systems.
struct JobInfo {
@@ -75,10 +76,10 @@ struct JobInfo {
// TYPE_DOWNLOAD_FILE, TYPE_UPLOAD_NEW_FILE, or TYPE_UPLOAD_EXISTING_FILE.
// Number of bytes completed.
- int64 num_completed_bytes;
+ int64_t num_completed_bytes;
// Total bytes of this operation.
- int64 num_total_bytes;
+ int64_t num_total_bytes;
// Drive path of the file that this job acts on.
base::FilePath file_path;
« no previous file with comments | « components/drive/file_write_watcher_unittest.cc ('k') | components/drive/job_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698