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

Unified Diff: components/nacl/broker/nacl_broker_listener.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 | « components/nacl/broker/nacl_broker_listener.h ('k') | components/nacl/browser/nacl_broker_host_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/broker/nacl_broker_listener.cc
diff --git a/components/nacl/broker/nacl_broker_listener.cc b/components/nacl/broker/nacl_broker_listener.cc
index 3f28cd009f4003749135cd97e581db70bdd0eab6..cb104058082acf4b120eae0c92599ed514475122 100644
--- a/components/nacl/broker/nacl_broker_listener.cc
+++ b/components/nacl/broker/nacl_broker_listener.cc
@@ -25,7 +25,7 @@
namespace {
-void SendReply(IPC::Channel* channel, int32 pid, bool result) {
+void SendReply(IPC::Channel* channel, int32_t pid, bool result) {
channel->Send(new NaClProcessMsg_DebugExceptionHandlerLaunched(pid, result));
}
@@ -64,7 +64,7 @@ bool NaClBrokerListener::PreSpawnTarget(sandbox::TargetPolicy* policy) {
return result == sandbox::SBOX_ALL_OK;
}
-void NaClBrokerListener::OnChannelConnected(int32 peer_pid) {
+void NaClBrokerListener::OnChannelConnected(int32_t peer_pid) {
browser_process_ = base::Process::OpenWithExtraPrivileges(peer_pid);
CHECK(browser_process_.IsValid());
}
@@ -128,7 +128,8 @@ void NaClBrokerListener::OnLaunchLoaderThroughBroker(
}
void NaClBrokerListener::OnLaunchDebugExceptionHandler(
- int32 pid, base::ProcessHandle process_handle,
+ int32_t pid,
+ base::ProcessHandle process_handle,
const std::string& startup_info) {
NaClStartDebugExceptionHandlerThread(
base::Process(process_handle), startup_info,
« no previous file with comments | « components/nacl/broker/nacl_broker_listener.h ('k') | components/nacl/browser/nacl_broker_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698