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

Unified Diff: content/child/fileapi/webfilewriter_base.h

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/webfilesystem_impl.cc ('k') | content/child/fileapi/webfilewriter_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/webfilewriter_base.h
diff --git a/content/child/fileapi/webfilewriter_base.h b/content/child/fileapi/webfilewriter_base.h
index a1ed2a5499e16805c7637a2eda6cfc2c99134043..4c7ee7655fb67a9fe7302f5271a549924664c35b 100644
--- a/content/child/fileapi/webfilewriter_base.h
+++ b/content/child/fileapi/webfilewriter_base.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_
#define CONTENT_CHILD_FILEAPI_WEBFILEWRITER_BASE_H_
+#include <stdint.h>
+
#include "base/files/file.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebFileWriter.h"
@@ -32,17 +34,17 @@ class CONTENT_EXPORT WebFileWriterBase
// This calls DidSucceed() or DidFail() based on the value of |error_code|.
void DidFinish(base::File::Error error_code);
- void DidWrite(int64 bytes, bool complete);
+ void DidWrite(int64_t bytes, bool complete);
void DidSucceed();
void DidFail(base::File::Error error_code);
// Derived classes must provide these methods to asynchronously perform
// the requested operation, and they must call the appropiate DidSomething
// method upon completion and as progress is made in the Write case.
- virtual void DoTruncate(const GURL& path, int64 offset) = 0;
+ virtual void DoTruncate(const GURL& path, int64_t offset) = 0;
virtual void DoWrite(const GURL& path,
const std::string& blob_id,
- int64 offset) = 0;
+ int64_t offset) = 0;
virtual void DoCancel() = 0;
private:
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/fileapi/webfilewriter_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698