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

Unified Diff: components/drive/sync/entry_update_performer_unittest.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/sync/entry_update_performer.cc ('k') | components/drive/sync/remove_performer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/sync/entry_update_performer_unittest.cc
diff --git a/components/drive/sync/entry_update_performer_unittest.cc b/components/drive/sync/entry_update_performer_unittest.cc
index 145e1ffd90ea49a415485cbb3604c0cdec1c6cfd..dada25a6b033ecefeb9776eec56cbbbf3eade3a9 100644
--- a/components/drive/sync/entry_update_performer_unittest.cc
+++ b/components/drive/sync/entry_update_performer_unittest.cc
@@ -4,6 +4,8 @@
#include "components/drive/sync/entry_update_performer.h"
+#include <stdint.h>
+
#include "base/callback_helpers.h"
#include "base/files/file_util.h"
#include "base/md5.h"
@@ -263,7 +265,7 @@ TEST_F(EntryUpdatePerformerTest, UpdateEntry_ContentUpdate) {
const std::string kTestFileContent = "I'm being uploaded! Yay!";
EXPECT_EQ(FILE_ERROR_OK, StoreAndMarkDirty(local_id, kTestFileContent));
- int64 original_changestamp =
+ int64_t original_changestamp =
fake_service()->about_resource().largest_change_id();
// The callback will be called upon completion of UpdateEntry().
@@ -288,7 +290,7 @@ TEST_F(EntryUpdatePerformerTest, UpdateEntry_ContentUpdate) {
&server_entry));
content::RunAllBlockingPoolTasksUntilIdle();
EXPECT_EQ(google_apis::HTTP_SUCCESS, gdata_error);
- EXPECT_EQ(static_cast<int64>(kTestFileContent.size()),
+ EXPECT_EQ(static_cast<int64_t>(kTestFileContent.size()),
server_entry->file_size());
// Make sure that the cache is no longer dirty.
@@ -307,7 +309,7 @@ TEST_F(EntryUpdatePerformerTest, UpdateEntry_ContentUpdateMd5Check) {
const std::string kTestFileContent = "I'm being uploaded! Yay!";
EXPECT_EQ(FILE_ERROR_OK, StoreAndMarkDirty(local_id, kTestFileContent));
- int64 original_changestamp =
+ int64_t original_changestamp =
fake_service()->about_resource().largest_change_id();
// The callback will be called upon completion of UpdateEntry().
@@ -332,7 +334,7 @@ TEST_F(EntryUpdatePerformerTest, UpdateEntry_ContentUpdateMd5Check) {
&server_entry));
content::RunAllBlockingPoolTasksUntilIdle();
EXPECT_EQ(google_apis::HTTP_SUCCESS, gdata_error);
- EXPECT_EQ(static_cast<int64>(kTestFileContent.size()),
+ EXPECT_EQ(static_cast<int64_t>(kTestFileContent.size()),
server_entry->file_size());
// Make sure that the cache is no longer dirty.
« no previous file with comments | « components/drive/sync/entry_update_performer.cc ('k') | components/drive/sync/remove_performer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698