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

Side by Side Diff: mojo/system/embedder/platform_channel_pair.h

Issue 139823003: Mojo: Move system embedder API files to mojo/system/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
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_SYSTEM_PLATFORM_CHANNEL_PAIR_H_ 5 #ifndef MOJO_SYSTEM_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_
6 #define MOJO_SYSTEM_PLATFORM_CHANNEL_PAIR_H_ 6 #define MOJO_SYSTEM_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/process/launch.h" 10 #include "base/process/launch.h"
11 #include "mojo/system/scoped_platform_handle.h" 11 #include "mojo/system/embedder/scoped_platform_handle.h"
12 #include "mojo/system/system_impl_export.h" 12 #include "mojo/system/system_impl_export.h"
13 13
14 class CommandLine; 14 class CommandLine;
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace embedder { 17 namespace embedder {
18 18
19 // This is used to create a pair of |PlatformHandle|s that are connected by a 19 // This is used to create a pair of |PlatformHandle|s that are connected by a
20 // suitable (platform-specific) bidirectional "pipe" (e.g., socket on POSIX, 20 // suitable (platform-specific) bidirectional "pipe" (e.g., socket on POSIX,
21 // named pipe on Windows). The resulting handles can then be used in the same 21 // named pipe on Windows). The resulting handles can then be used in the same
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 private: 63 private:
64 ScopedPlatformHandle server_handle_; 64 ScopedPlatformHandle server_handle_;
65 ScopedPlatformHandle client_handle_; 65 ScopedPlatformHandle client_handle_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(PlatformChannelPair); 67 DISALLOW_COPY_AND_ASSIGN(PlatformChannelPair);
68 }; 68 };
69 69
70 } // namespace embedder 70 } // namespace embedder
71 } // namespace mojo 71 } // namespace mojo
72 72
73 #endif // MOJO_SYSTEM_PLATFORM_CHANNEL_PAIR_H_ 73 #endif // MOJO_SYSTEM_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_
OLDNEW
« no previous file with comments | « mojo/system/embedder/embedder_unittest.cc ('k') | mojo/system/embedder/platform_channel_pair.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698