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

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

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win release build. Created 3 years, 9 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/BUILD.gn ('k') | mojo/edk/embedder/connection_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_EDK_EMBEDDER_CONNECTION_PARAMS_H_
6 #define MOJO_EDK_EMBEDDER_CONNECTION_PARAMS_H_
7
8 #include "base/macros.h"
9 #include "build/build_config.h"
10 #include "mojo/edk/embedder/scoped_platform_handle.h"
11 #include "mojo/edk/system/system_impl_export.h"
12
13 namespace mojo {
14 namespace edk {
15
16 class MOJO_SYSTEM_IMPL_EXPORT ConnectionParams {
17 public:
18 explicit ConnectionParams(ScopedPlatformHandle channel);
19
20 ConnectionParams(ConnectionParams&& param);
21 ConnectionParams& operator=(ConnectionParams&& param);
22
23 ScopedPlatformHandle TakeChannelHandle();
24
25 private:
26 ScopedPlatformHandle channel_;
27
28 DISALLOW_COPY_AND_ASSIGN(ConnectionParams);
29 };
30
31 } // namespace edk
32 } // namespace mojo
33
34 #endif // MOJO_EDK_EMBEDDER_CONNECTION_PARAMS_H_
OLDNEW
« no previous file with comments | « mojo/edk/embedder/BUILD.gn ('k') | mojo/edk/embedder/connection_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698