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

Unified Diff: components/drive/service/dummy_drive_service.cc

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/service/dummy_drive_service.h ('k') | components/drive/service/fake_drive_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/service/dummy_drive_service.cc
diff --git a/components/drive/service/dummy_drive_service.cc b/components/drive/service/dummy_drive_service.cc
index 8700fce04c200475eaeb028b39f92323bb45bdb9..47b85b74121a64fafa382637c5288b21a2f0af16 100644
--- a/components/drive/service/dummy_drive_service.cc
+++ b/components/drive/service/dummy_drive_service.cc
@@ -69,8 +69,10 @@ CancelCallback DummyDriveService::SearchByTitle(
const FileListCallback& callback) { return CancelCallback(); }
CancelCallback DummyDriveService::GetChangeList(
- int64 start_changestamp,
- const ChangeListCallback& callback) { return CancelCallback(); }
+ int64_t start_changestamp,
+ const ChangeListCallback& callback) {
+ return CancelCallback();
+}
CancelCallback DummyDriveService::GetRemainingChangeList(
const GURL& next_link,
@@ -147,7 +149,7 @@ CancelCallback DummyDriveService::AddNewDirectory(
CancelCallback DummyDriveService::InitiateUploadNewFile(
const std::string& content_type,
- int64 content_length,
+ int64_t content_length,
const std::string& parent_resource_id,
const std::string& title,
const UploadNewFileOptions& options,
@@ -157,7 +159,7 @@ CancelCallback DummyDriveService::InitiateUploadNewFile(
CancelCallback DummyDriveService::InitiateUploadExistingFile(
const std::string& content_type,
- int64 content_length,
+ int64_t content_length,
const std::string& resource_id,
const UploadExistingFileOptions& options,
const InitiateUploadCallback& callback) {
@@ -166,22 +168,26 @@ CancelCallback DummyDriveService::InitiateUploadExistingFile(
CancelCallback DummyDriveService::ResumeUpload(
const GURL& upload_url,
- int64 start_position,
- int64 end_position,
- int64 content_length,
+ int64_t start_position,
+ int64_t end_position,
+ int64_t content_length,
const std::string& content_type,
const base::FilePath& local_file_path,
const UploadRangeCallback& callback,
- const ProgressCallback& progress_callback) { return CancelCallback(); }
+ const ProgressCallback& progress_callback) {
+ return CancelCallback();
+}
CancelCallback DummyDriveService::GetUploadStatus(
const GURL& upload_url,
- int64 content_length,
- const UploadRangeCallback& callback) { return CancelCallback(); }
+ int64_t content_length,
+ const UploadRangeCallback& callback) {
+ return CancelCallback();
+}
CancelCallback DummyDriveService::MultipartUploadNewFile(
const std::string& content_type,
- int64 content_length,
+ int64_t content_length,
const std::string& parent_resource_id,
const std::string& title,
const base::FilePath& local_file_path,
@@ -193,7 +199,7 @@ CancelCallback DummyDriveService::MultipartUploadNewFile(
CancelCallback DummyDriveService::MultipartUploadExistingFile(
const std::string& content_type,
- int64 content_length,
+ int64_t content_length,
const std::string& resource_id,
const base::FilePath& local_file_path,
const UploadExistingFileOptions& options,
« no previous file with comments | « components/drive/service/dummy_drive_service.h ('k') | components/drive/service/fake_drive_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698