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

Side by Side Diff: mojo/edk/system/raw_channel.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 4 years, 12 months 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/raw_channel.h ('k') | mojo/edk/system/raw_channel_posix.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/raw_channel.h" 5 #include "mojo/edk/system/raw_channel.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
7 #include <string.h> 9 #include <string.h>
8 #include <algorithm> 10 #include <algorithm>
9 #include <utility> 11 #include <utility>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/location.h" 14 #include "base/location.h"
13 #include "base/logging.h" 15 #include "base/logging.h"
14 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
15 #include "mojo/edk/embedder/embedder_internal.h" 17 #include "mojo/edk/embedder/embedder_internal.h"
16 #include "mojo/edk/system/configuration.h" 18 #include "mojo/edk/system/configuration.h"
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 OnReadCompletedNoLock(io_result, bytes_read); 721 OnReadCompletedNoLock(io_result, bytes_read);
720 } 722 }
721 723
722 void RawChannel::WillDestroyCurrentMessageLoop() { 724 void RawChannel::WillDestroyCurrentMessageLoop() {
723 base::AutoLock locker(read_lock_); 725 base::AutoLock locker(read_lock_);
724 OnReadCompletedNoLock(IO_FAILED_SHUTDOWN, 0); 726 OnReadCompletedNoLock(IO_FAILED_SHUTDOWN, 0);
725 } 727 }
726 728
727 } // namespace edk 729 } // namespace edk
728 } // namespace mojo 730 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/raw_channel.h ('k') | mojo/edk/system/raw_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698