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

Unified Diff: content/child/fileapi/file_system_dispatcher.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
Index: content/child/fileapi/file_system_dispatcher.h
diff --git a/content/child/fileapi/file_system_dispatcher.h b/content/child/fileapi/file_system_dispatcher.h
index d255fb359f53be0eae981f2a8f48a57c28bcf085..a04d97ead07d2efa0e26adf33675814d9c2d4850 100644
--- a/content/child/fileapi/file_system_dispatcher.h
+++ b/content/child/fileapi/file_system_dispatcher.h
@@ -5,12 +5,14 @@
#ifndef CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
#define CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/callback_forward.h"
#include "base/id_map.h"
+#include "base/macros.h"
#include "base/process/process.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_platform_file.h"
@@ -51,9 +53,7 @@ class FileSystemDispatcher : public IPC::Listener {
typedef base::Callback<void(const storage::FileSystemInfo& info,
const base::FilePath& file_path,
bool is_directory)> ResolveURLCallback;
- typedef base::Callback<void(
- int64 bytes,
- bool complete)> WriteCallback;
+ typedef base::Callback<void(int64_t bytes, bool complete)> WriteCallback;
typedef base::Callback<void(base::PlatformFile file,
int file_open_id,
storage::QuotaLimitType quota_policy)>
@@ -101,12 +101,12 @@ class FileSystemDispatcher : public IPC::Listener {
const ReadDirectoryCallback& success_callback,
const StatusCallback& error_callback);
void Truncate(const GURL& path,
- int64 offset,
+ int64_t offset,
int* request_id_out,
const StatusCallback& callback);
void Write(const GURL& path,
const std::string& blob_id,
- int64 offset,
+ int64_t offset,
int* request_id_out,
const WriteCallback& success_callback,
const StatusCallback& error_callback);
@@ -145,7 +145,7 @@ class FileSystemDispatcher : public IPC::Listener {
const std::vector<storage::DirectoryEntry>& entries,
bool has_more);
void OnDidFail(int request_id, base::File::Error error_code);
- void OnDidWrite(int request_id, int64 bytes, bool complete);
+ void OnDidWrite(int request_id, int64_t bytes, bool complete);
IDMap<CallbackDispatcher, IDMapOwnPointer> dispatchers_;
« no previous file with comments | « content/child/dwrite_font_proxy/dwrite_localized_strings_win.cc ('k') | content/child/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698