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

Side by Side Diff: mojo/edk/system/broker_state.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 unified diff | Download patch
« no previous file with comments | « mojo/edk/system/broker_state.h ('k') | mojo/edk/system/child_broker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/edk/system/broker_state.h" 5 #include "mojo/edk/system/broker_state.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/bind.h" 10 #include "base/bind.h"
8 #include "base/rand_util.h" 11 #include "base/rand_util.h"
9 #include "mojo/edk/embedder/embedder_internal.h" 12 #include "mojo/edk/embedder/embedder_internal.h"
10 #include "mojo/edk/embedder/platform_channel_pair.h" 13 #include "mojo/edk/embedder/platform_channel_pair.h"
11 #include "mojo/edk/system/child_broker_host.h" 14 #include "mojo/edk/system/child_broker_host.h"
12 #include "mojo/edk/system/message_pipe_dispatcher.h" 15 #include "mojo/edk/system/message_pipe_dispatcher.h"
13 #include "mojo/edk/system/routed_raw_channel.h" 16 #include "mojo/edk/system/routed_raw_channel.h"
14 17
15 namespace mojo { 18 namespace mojo {
16 namespace edk { 19 namespace edk {
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // then when it's read it returns no messages because it doesn't have the 237 // then when it's read it returns no messages because it doesn't have the
235 // channel yet. 238 // channel yet.
236 message_pipe->GotNonTransferableChannel(raw_channel->channel()); 239 message_pipe->GotNonTransferableChannel(raw_channel->channel());
237 // The above call could have caused |CloseMessagePipe| to be called. 240 // The above call could have caused |CloseMessagePipe| to be called.
238 if (connected_pipes_.find(message_pipe) != connected_pipes_.end()) 241 if (connected_pipes_.find(message_pipe) != connected_pipes_.end())
239 raw_channel->AddRoute(pipe_id, message_pipe); 242 raw_channel->AddRoute(pipe_id, message_pipe);
240 } 243 }
241 244
242 } // namespace edk 245 } // namespace edk
243 } // namespace mojo 246 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/broker_state.h ('k') | mojo/edk/system/child_broker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698