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

Unified Diff: chrome/browser/sync_file_system/local/local_file_change_tracker_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/local/local_file_change_tracker_unittest.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc b/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
index 8c91a3aa0ac9db65f943f4fac0670f0f97bfefdc..4a0e4e3683d11a0773dd9a1b1e0efaac8d77692e 100644
--- a/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
+++ b/chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc
@@ -4,11 +4,13 @@
#include "chrome/browser/sync_file_system/local/local_file_change_tracker.h"
+#include <stdint.h>
+
#include <deque>
#include <set>
-#include "base/basictypes.h"
#include "base/files/scoped_temp_dir.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/stl_util.h"
@@ -294,9 +296,9 @@ TEST_F(LocalFileChangeTrackerTest, RestoreCreateAndModifyChanges) {
file_system_.TruncateFile(URL(kPath3), 1)); // Modifies the file.
EXPECT_EQ(base::File::FILE_OK,
file_system_.CreateFile(URL(kPath4))); // Creates another file.
- EXPECT_EQ(static_cast<int64>(kData.size()), // Modifies the file.
- file_system_.Write(&url_request_context,
- URL(kPath4), blob.GetBlobDataHandle()));
+ EXPECT_EQ(static_cast<int64_t>(kData.size()), // Modifies the file.
+ file_system_.Write(&url_request_context, URL(kPath4),
+ blob.GetBlobDataHandle()));
// Verify the changes.
file_system_.GetChangedURLsInTracker(&urls);
@@ -445,8 +447,8 @@ TEST_F(LocalFileChangeTrackerTest, RestoreCopyChanges) {
file_system_.TruncateFile(URL(kPath3), 1)); // Modifies the file.
EXPECT_EQ(base::File::FILE_OK,
file_system_.CreateFile(URL(kPath4))); // Creates another file.
- EXPECT_EQ(static_cast<int64>(kData.size()),
- file_system_.Write(&url_request_context, // Modifies the file.
+ EXPECT_EQ(static_cast<int64_t>(kData.size()),
+ file_system_.Write(&url_request_context, // Modifies the file.
URL(kPath4), blob.GetBlobDataHandle()));
// Verify we have 5 changes for preparation.

Powered by Google App Engine
This is Rietveld 408576698