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

Unified Diff: mojo/fetcher/local_fetcher.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « mojo/fetcher/local_fetcher.h ('k') | mojo/fetcher/network_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/fetcher/local_fetcher.cc
diff --git a/mojo/fetcher/local_fetcher.cc b/mojo/fetcher/local_fetcher.cc
index e723eca6591700439c7157d4ed4e736e3abc6be5..7d8851cc98a41e59b21a5a712063501e6ade9755 100644
--- a/mojo/fetcher/local_fetcher.cc
+++ b/mojo/fetcher/local_fetcher.cc
@@ -4,6 +4,9 @@
#include "mojo/fetcher/local_fetcher.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <utility>
#include "base/bind.h"
@@ -104,7 +107,7 @@ URLResponsePtr LocalFetcher::AsURLResponse(base::TaskRunner* task_runner,
response->url = String::From(url_);
DataPipe data_pipe;
response->body = std::move(data_pipe.consumer_handle);
- int64 file_size;
+ int64_t file_size;
if (base::GetFileSize(path_, &file_size)) {
response->headers = Array<HttpHeaderPtr>(1);
HttpHeaderPtr header = HttpHeader::New();
« no previous file with comments | « mojo/fetcher/local_fetcher.h ('k') | mojo/fetcher/network_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698