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

Unified Diff: chrome/utility/image_writer/image_writer.h

Issue 1548153002: Switch to standard integer types in chrome/. (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/utility/image_writer/error_messages.cc ('k') | chrome/utility/image_writer/image_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_writer/image_writer.h
diff --git a/chrome/utility/image_writer/image_writer.h b/chrome/utility/image_writer/image_writer.h
index 7c1225cac27641c3dc2e72640e14fdece299c372..3256a8603c4dc01a55c8fe2b0ccb0fb4407e9337 100644
--- a/chrome/utility/image_writer/image_writer.h
+++ b/chrome/utility/image_writer/image_writer.h
@@ -5,6 +5,8 @@
#ifndef CHROME_UTILITY_IMAGE_WRITER_IMAGE_WRITER_H_
#define CHROME_UTILITY_IMAGE_WRITER_IMAGE_WRITER_H_
+#include <stdint.h>
+
#include <vector>
#include "base/bind.h"
@@ -12,6 +14,7 @@
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/memory/weak_ptr.h"
+#include "build/build_config.h"
#if defined(OS_WIN)
#include <windows.h>
@@ -59,7 +62,7 @@ class ImageWriter : public base::SupportsWeakPtr<ImageWriter> {
private:
// Convenience wrappers.
void PostTask(const base::Closure& task);
- void PostProgress(int64 progress);
+ void PostProgress(int64_t progress);
void Error(const std::string& message);
// Initializes the files.
@@ -75,7 +78,7 @@ class ImageWriter : public base::SupportsWeakPtr<ImageWriter> {
base::File image_file_;
base::File device_file_;
- int64 bytes_processed_;
+ int64_t bytes_processed_;
bool running_;
#if defined(OS_WIN)
« no previous file with comments | « chrome/utility/image_writer/error_messages.cc ('k') | chrome/utility/image_writer/image_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698