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

Side by Side Diff: base/posix/unix_domain_socket_linux_unittest.cc

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too 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 | « base/posix/unix_domain_socket_linux.cc ('k') | base/power_monitor/power_monitor.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <stddef.h>
6 #include <stdint.h>
5 #include <sys/socket.h> 7 #include <sys/socket.h>
6 #include <sys/types.h> 8 #include <sys/types.h>
7 #include <unistd.h> 9 #include <unistd.h>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
11 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
12 #include "base/files/scoped_file.h" 14 #include "base/files/scoped_file.h"
13 #include "base/location.h" 15 #include "base/location.h"
14 #include "base/pickle.h" 16 #include "base/pickle.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const ssize_t nread = UnixDomainSocket::RecvMsgWithPid( 153 const ssize_t nread = UnixDomainSocket::RecvMsgWithPid(
152 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid); 154 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid);
153 ASSERT_EQ(0, nread); 155 ASSERT_EQ(0, nread);
154 ASSERT_EQ(-1, sender_pid); 156 ASSERT_EQ(-1, sender_pid);
155 ASSERT_EQ(0U, recv_fds.size()); 157 ASSERT_EQ(0U, recv_fds.size());
156 } 158 }
157 159
158 } // namespace 160 } // namespace
159 161
160 } // namespace base 162 } // namespace base
OLDNEW
« no previous file with comments | « base/posix/unix_domain_socket_linux.cc ('k') | base/power_monitor/power_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698