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

Unified Diff: content/child/fileapi/webfilewriter_base_unittest.cc

Issue 1544273002: Switch to standard integer types in content/. (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 | « content/child/fileapi/webfilewriter_base.cc ('k') | content/child/fileapi/webfilewriter_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/webfilewriter_base_unittest.cc
diff --git a/content/child/fileapi/webfilewriter_base_unittest.cc b/content/child/fileapi/webfilewriter_base_unittest.cc
index 6a6d0b04f8d680bcb860186084c891427a06903d..686cd4ee53f9a77436326621b2a9ac3c68b3fc39 100644
--- a/content/child/fileapi/webfilewriter_base_unittest.cc
+++ b/content/child/fileapi/webfilewriter_base_unittest.cc
@@ -4,7 +4,10 @@
#include "content/child/fileapi/webfilewriter_base.h"
+#include <stdint.h>
+
#include "base/logging.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/utf_string_conversions.h"
@@ -57,15 +60,15 @@ class TestableFileWriter : public WebFileWriterBase {
bool received_truncate_;
GURL received_truncate_path_;
- int64 received_truncate_offset_;
+ int64_t received_truncate_offset_;
bool received_write_;
GURL received_write_path_;
std::string received_write_blob_uuid_;
- int64 received_write_offset_;
+ int64_t received_write_offset_;
bool received_cancel_;
protected:
- void DoTruncate(const GURL& path, int64 offset) override {
+ void DoTruncate(const GURL& path, int64_t offset) override {
received_truncate_ = true;
received_truncate_path_ = path;
received_truncate_offset_ = offset;
@@ -89,7 +92,7 @@ class TestableFileWriter : public WebFileWriterBase {
void DoWrite(const GURL& path,
const std::string& blob_uuid,
- int64 offset) override {
+ int64_t offset) override {
received_write_ = true;
received_write_path_ = path;
received_write_offset_ = offset;
« no previous file with comments | « content/child/fileapi/webfilewriter_base.cc ('k') | content/child/fileapi/webfilewriter_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698