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

Unified Diff: components/drive/local_file_reader_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/local_file_reader.cc ('k') | components/drive/resource_entry_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/local_file_reader_unittest.cc
diff --git a/components/drive/local_file_reader_unittest.cc b/components/drive/local_file_reader_unittest.cc
index e7790e734439e9c7c3fa8ec08846241764ee0372..e8e040af8bdfe4dbcbd76bc8fd71f9686bc67553 100644
--- a/components/drive/local_file_reader_unittest.cc
+++ b/components/drive/local_file_reader_unittest.cc
@@ -4,6 +4,9 @@
#include "components/drive/local_file_reader.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "base/files/file_path.h"
@@ -93,8 +96,8 @@ TEST_F(LocalFileReaderTest, OpenWithOffset) {
expected_content.erase(0, offset);
net::TestCompletionCallback callback;
- file_reader_->Open(
- test_file, static_cast<int64>(offset), callback.callback());
+ file_reader_->Open(test_file, static_cast<int64_t>(offset),
+ callback.callback());
ASSERT_EQ(net::OK, callback.WaitForResult());
LocalFileReaderAdapter adapter(file_reader_.get());
« no previous file with comments | « components/drive/local_file_reader.cc ('k') | components/drive/resource_entry_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698