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

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

Issue 214753004: Mojo: Move mojo/public/system/core_cpp.h to mojo/cpp/public/system/core.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased/updated Created 6 years, 8 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
« no previous file with comments | « mojo/common/message_pump_mojo_handler.h ('k') | mojo/examples/compositor_app/compositor_host.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_EMBEDDER_EMBEDDER_H_ 5 #ifndef MOJO_EMBEDDER_EMBEDDER_H_
6 #define MOJO_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/task_runner.h" 10 #include "base/task_runner.h"
11 #include "mojo/embedder/scoped_platform_handle.h" 11 #include "mojo/embedder/scoped_platform_handle.h"
12 #include "mojo/public/system/core_cpp.h" 12 #include "mojo/public/cpp/system/core.h"
13 #include "mojo/system/system_impl_export.h" 13 #include "mojo/system/system_impl_export.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace embedder { 16 namespace embedder {
17 17
18 // Must be called first to initialize the (global, singleton) system. 18 // Must be called first to initialize the (global, singleton) system.
19 MOJO_SYSTEM_IMPL_EXPORT void Init(); 19 MOJO_SYSTEM_IMPL_EXPORT void Init();
20 20
21 // Creates a new "channel", returning a handle to the bootstrap message pipe on 21 // Creates a new "channel", returning a handle to the bootstrap message pipe on
22 // that channel. |platform_handle| should be an OS-dependent handle to one side 22 // that channel. |platform_handle| should be an OS-dependent handle to one side
(...skipping 30 matching lines...) Expand all
53 DidCreateChannelCallback callback, 53 DidCreateChannelCallback callback,
54 scoped_refptr<base::TaskRunner> callback_thread_task_runner); 54 scoped_refptr<base::TaskRunner> callback_thread_task_runner);
55 55
56 MOJO_SYSTEM_IMPL_EXPORT void DestroyChannelOnIOThread( 56 MOJO_SYSTEM_IMPL_EXPORT void DestroyChannelOnIOThread(
57 ChannelInfo* channel_info); 57 ChannelInfo* channel_info);
58 58
59 } // namespace embedder 59 } // namespace embedder
60 } // namespace mojo 60 } // namespace mojo
61 61
62 #endif // MOJO_EMBEDDER_EMBEDDER_H_ 62 #endif // MOJO_EMBEDDER_EMBEDDER_H_
OLDNEW
« no previous file with comments | « mojo/common/message_pump_mojo_handler.h ('k') | mojo/examples/compositor_app/compositor_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698