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

Unified Diff: chrome/browser/download/download_commands.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, 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 | « chrome/browser/download/download_commands.h ('k') | chrome/browser/download/download_completion_blocker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_commands.cc
diff --git a/chrome/browser/download/download_commands.cc b/chrome/browser/download/download_commands.cc
index d327d1613f08498d6f59695544649fca3d870e0f..2fc2b717cbfaeb8f971c90b1b6f2c06912b2414a 100644
--- a/chrome/browser/download/download_commands.cc
+++ b/chrome/browser/download/download_commands.cc
@@ -8,8 +8,10 @@
#include "base/base64.h"
#include "base/files/file_util.h"
+#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
+#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/download/download_crx_util.h"
#include "chrome/browser/download/download_extensions.h"
@@ -65,7 +67,7 @@ class ImageClipboardCopyManager : public ImageDecoder::ImageRequest {
RunsTasksOnCurrentThread());
// Re-check the filesize since the file may be modified after downloaded.
- int64 filesize;
+ int64_t filesize;
if (!GetFileSize(file_path_, &filesize) ||
filesize > kMaxImageClipboardSize) {
OnFailedBeforeDecoding();
« no previous file with comments | « chrome/browser/download/download_commands.h ('k') | chrome/browser/download/download_completion_blocker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698