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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_task_token.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
Index: chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
index b4d58bf862d2713c45ebfbb6ef3a6333a88c6878..32cb4e4cd4dc5f045ad262418f53844596270066 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
@@ -13,9 +13,9 @@
namespace sync_file_system {
namespace drive_backend {
-const int64 SyncTaskToken::kTestingTaskTokenID = -1;
-const int64 SyncTaskToken::kForegroundTaskTokenID = 0;
-const int64 SyncTaskToken::kMinimumBackgroundTaskTokenID = 1;
+const int64_t SyncTaskToken::kTestingTaskTokenID = -1;
+const int64_t SyncTaskToken::kForegroundTaskTokenID = 0;
+const int64_t SyncTaskToken::kMinimumBackgroundTaskTokenID = 1;
// static
scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForTesting(
@@ -44,7 +44,7 @@ scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForForegroundTask(
scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForBackgroundTask(
const base::WeakPtr<SyncTaskManager>& manager,
base::SequencedTaskRunner* task_runner,
- int64 token_id,
+ int64_t token_id,
scoped_ptr<TaskBlocker> task_blocker) {
return make_scoped_ptr(new SyncTaskToken(
manager,
@@ -144,15 +144,14 @@ scoped_ptr<TaskLogger::TaskLog> SyncTaskToken::PassTaskLog() {
SyncTaskToken::SyncTaskToken(
const base::WeakPtr<SyncTaskManager>& manager,
const scoped_refptr<base::SequencedTaskRunner>& task_runner,
- int64 token_id,
+ int64_t token_id,
scoped_ptr<TaskBlocker> task_blocker,
const SyncStatusCallback& callback)
: manager_(manager),
task_runner_(task_runner),
token_id_(token_id),
callback_(callback),
- task_blocker_(task_blocker.Pass()) {
-}
+ task_blocker_(task_blocker.Pass()) {}
} // namespace drive_backend
} // namespace sync_file_system

Powered by Google App Engine
This is Rietveld 408576698