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

Side by Side Diff: mojo/edk/embedder/platform_channel_utils_posix.h

Issue 1351293002: Convert remaining scoped_ptr -> std::unique_ptr in //mojo/edk (minus js). (Closed) Base URL: https://github.com/domokit/mojo.git@edk_unique_ptr_5
Patch Set: oops, forgot to fix android Created 5 years, 3 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/embedder/platform_channel_pair.h ('k') | mojo/edk/embedder/platform_handle_vector.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 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 #ifndef MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_ 5 #ifndef MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
6 #define MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_ 6 #define MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <sys/types.h> // For |ssize_t|. 9 #include <sys/types.h> // For |ssize_t|.
10 10
11 #include <deque> 11 #include <deque>
12 12
13 #include "base/memory/scoped_ptr.h"
14 #include "mojo/edk/embedder/platform_handle.h" 13 #include "mojo/edk/embedder/platform_handle.h"
15 #include "mojo/edk/system/system_impl_export.h" 14 #include "mojo/edk/system/system_impl_export.h"
16 15
17 struct iovec; // Declared in <sys/uio.h>. 16 struct iovec; // Declared in <sys/uio.h>.
18 17
19 namespace mojo { 18 namespace mojo {
20 namespace embedder { 19 namespace embedder {
21 20
22 // The maximum number of handles that can be sent "at once" using 21 // The maximum number of handles that can be sent "at once" using
23 // |PlatformChannelSendmsgWithHandles()|. 22 // |PlatformChannelSendmsgWithHandles()|.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 MOJO_SYSTEM_IMPL_EXPORT ssize_t 66 MOJO_SYSTEM_IMPL_EXPORT ssize_t
68 PlatformChannelRecvmsg(PlatformHandle h, 67 PlatformChannelRecvmsg(PlatformHandle h,
69 void* buf, 68 void* buf,
70 size_t num_bytes, 69 size_t num_bytes,
71 std::deque<PlatformHandle>* platform_handles); 70 std::deque<PlatformHandle>* platform_handles);
72 71
73 } // namespace embedder 72 } // namespace embedder
74 } // namespace mojo 73 } // namespace mojo
75 74
76 #endif // MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_ 75 #endif // MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_UTILS_POSIX_H_
OLDNEW
« no previous file with comments | « mojo/edk/embedder/platform_channel_pair.h ('k') | mojo/edk/embedder/platform_handle_vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698