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

Side by Side Diff: mojo/edk/embedder/platform_channel_pair_posix.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
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/embedder/platform_channel_pair.h" 5 #include "mojo/edk/embedder/platform_channel_pair.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 #include <sys/socket.h> 10 #include <sys/socket.h>
10 #include <sys/types.h> 11 #include <sys/types.h>
11 #include <unistd.h> 12 #include <unistd.h>
12 13
13 #include <limits> 14 #include <limits>
14 15
15 #include "base/command_line.h" 16 #include "base/command_line.h"
16 #include "base/logging.h" 17 #include "base/logging.h"
17 #include "base/posix/global_descriptors.h" 18 #include "base/posix/global_descriptors.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 while (IsTargetDescriptorUsed(*handle_passing_info, target_fd)) 137 while (IsTargetDescriptorUsed(*handle_passing_info, target_fd))
137 target_fd++; 138 target_fd++;
138 139
139 handle_passing_info->push_back( 140 handle_passing_info->push_back(
140 std::pair<int, int>(client_handle_.get().handle, target_fd)); 141 std::pair<int, int>(client_handle_.get().handle, target_fd));
141 return base::IntToString(target_fd); 142 return base::IntToString(target_fd);
142 } 143 }
143 144
144 } // namespace edk 145 } // namespace edk
145 } // namespace mojo 146 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/embedder/entrypoints.cc ('k') | mojo/edk/embedder/platform_channel_pair_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698