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

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

Issue 623883002: Revert "Move mojo edk into mojo/edk" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/embedder/channel_init.cc ('k') | mojo/embedder/embedder.cc » ('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_EMBEDDER_H_ 5 #ifndef MOJO_EMBEDDER_EMBEDDER_H_
6 #define MOJO_EDK_EMBEDDER_EMBEDDER_H_ 6 #define MOJO_EMBEDDER_EMBEDDER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/task_runner.h" 11 #include "base/task_runner.h"
12 #include "mojo/edk/embedder/scoped_platform_handle.h" 12 #include "mojo/embedder/scoped_platform_handle.h"
13 #include "mojo/edk/system/system_impl_export.h"
14 #include "mojo/public/cpp/system/core.h" 13 #include "mojo/public/cpp/system/core.h"
14 #include "mojo/system/system_impl_export.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace embedder { 17 namespace embedder {
18 18
19 class PlatformSupport; 19 class PlatformSupport;
20 20
21 // Must be called first to initialize the (global, singleton) system. 21 // Must be called first to initialize the (global, singleton) system.
22 MOJO_SYSTEM_IMPL_EXPORT void Init(scoped_ptr<PlatformSupport> platform_support); 22 MOJO_SYSTEM_IMPL_EXPORT void Init(scoped_ptr<PlatformSupport> platform_support);
23 23
24 // A "channel" is a connection on top of an OS "pipe", on top of which Mojo 24 // A "channel" is a connection on top of an OS "pipe", on top of which Mojo
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Retrieves the |PlatformHandle| that was wrapped into a |MojoHandle| (using 115 // Retrieves the |PlatformHandle| that was wrapped into a |MojoHandle| (using
116 // |CreatePlatformHandleWrapper()| above). Note that the |MojoHandle| must still 116 // |CreatePlatformHandleWrapper()| above). Note that the |MojoHandle| must still
117 // be closed separately. 117 // be closed separately.
118 MOJO_SYSTEM_IMPL_EXPORT MojoResult 118 MOJO_SYSTEM_IMPL_EXPORT MojoResult
119 PassWrappedPlatformHandle(MojoHandle platform_handle_wrapper_handle, 119 PassWrappedPlatformHandle(MojoHandle platform_handle_wrapper_handle,
120 ScopedPlatformHandle* platform_handle); 120 ScopedPlatformHandle* platform_handle);
121 121
122 } // namespace embedder 122 } // namespace embedder
123 } // namespace mojo 123 } // namespace mojo
124 124
125 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_H_ 125 #endif // MOJO_EMBEDDER_EMBEDDER_H_
OLDNEW
« no previous file with comments | « mojo/embedder/channel_init.cc ('k') | mojo/embedder/embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698