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

Unified Diff: chrome/service/service_utility_process_host.cc

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/service/service_utility_process_host.h ('k') | chrome/test/base/always_on_top_window_killer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_utility_process_host.cc
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
index 36392aa413fb20696c59c04d115d989dca979a83..46483ff37a428bb10d3e664e2a39f72bfd97b7fb 100644
--- a/chrome/service/service_utility_process_host.cc
+++ b/chrome/service/service_utility_process_host.cc
@@ -4,6 +4,8 @@
#include "chrome/service/service_utility_process_host.h"
+#include <stdint.h>
+
#include <queue>
#include "base/bind.h"
@@ -13,10 +15,12 @@
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/metrics/histogram.h"
#include "base/process/launch.h"
#include "base/task_runner_util.h"
#include "base/thread_task_runner_handle.h"
+#include "build/build_config.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/chrome_utility_printing_messages.h"
#include "content/public/common/child_process_host.h"
@@ -403,7 +407,7 @@ void ServiceUtilityProcessHost::OnGetPrinterSemanticCapsAndDefaultsFailed(
bool ServiceUtilityProcessHost::Client::MetafileAvailable(float scale_factor,
base::File file) {
file.Seek(base::File::FROM_BEGIN, 0);
- int64 size = file.GetLength();
+ int64_t size = file.GetLength();
if (size <= 0) {
OnRenderPDFPagesToMetafileDone(false);
return false;
« no previous file with comments | « chrome/service/service_utility_process_host.h ('k') | chrome/test/base/always_on_top_window_killer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698