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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.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_engine_initializer_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc b/chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc
index 079dc88624d5071be799b9662191d78d37629f01..aac13d8f519b145b1b00f2e444ccf8ddad2ea17c 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc
@@ -4,8 +4,12 @@
#include "chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/files/scoped_temp_dir.h"
+#include "base/macros.h"
#include "base/run_loop.h"
#include "base/thread_task_runner_handle.h"
#include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.h"
@@ -29,7 +33,7 @@ namespace drive_backend {
namespace {
-const int64 kInitialLargestChangeID = 1234;
+const int64_t kInitialLargestChangeID = 1234;
} // namespace
@@ -163,7 +167,7 @@ class SyncEngineInitializerTest : public testing::Test {
}
std::string GetSyncRootFolderID() {
- int64 sync_root_tracker_id = metadata_database_->GetSyncRootTrackerID();
+ int64_t sync_root_tracker_id = metadata_database_->GetSyncRootTrackerID();
FileTracker sync_root_tracker;
EXPECT_TRUE(metadata_database_->FindTrackerByTrackerID(
sync_root_tracker_id, &sync_root_tracker));

Powered by Google App Engine
This is Rietveld 408576698