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

Unified Diff: mojo/edk/embedder/embedder.h

Issue 1554443003: Stop linking in the old Mojo EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge and fix new flaky test Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/embedder/BUILD.gn ('k') | mojo/edk/embedder/embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/embedder.h
diff --git a/mojo/edk/embedder/embedder.h b/mojo/edk/embedder/embedder.h
index 3393258055a4e632767ccf3251b738f22da21a24..5cf8fdaa2e4b0641943f08ca3c0dc139c5c00185 100644
--- a/mojo/edk/embedder/embedder.h
+++ b/mojo/edk/embedder/embedder.h
@@ -14,7 +14,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/process/process_handle.h"
#include "base/task_runner.h"
-#include "mojo/edk/embedder/scoped_platform_handle.h"
#include "mojo/edk/system/system_impl_export.h"
#include "mojo/public/cpp/system/message_pipe.h"
@@ -22,6 +21,7 @@ namespace mojo {
namespace edk {
class ProcessDelegate;
+class ScopedPlatformHandle;
// Basic configuration/initialization ------------------------------------------
@@ -56,6 +56,11 @@ MOJO_SYSTEM_IMPL_EXPORT void SetParentPipeHandle(ScopedPlatformHandle pipe);
// initialize the (global, singleton) system.
MOJO_SYSTEM_IMPL_EXPORT void Init();
+// Initialized Mojo EDK.
+// TODO(jam): Remove Init(), InitIPCSupport() and ShutdownIPCSupport()
+MOJO_SYSTEM_IMPL_EXPORT void Init(
+ scoped_refptr<base::TaskRunner> io_thread_task_runner);
+
// Basic functions -------------------------------------------------------------
// The functions in this section are available once |Init()| has been called.
« no previous file with comments | « mojo/edk/embedder/BUILD.gn ('k') | mojo/edk/embedder/embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698