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

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

Issue 1465183005: Rename mojo::TokenSerializer to mojo::Broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win component Created 5 years, 1 month 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
Index: third_party/mojo/src/mojo/edk/embedder/embedder.h
diff --git a/third_party/mojo/src/mojo/edk/embedder/embedder.h b/third_party/mojo/src/mojo/edk/embedder/embedder.h
index 2f2dfd2b1103ac5da9b39b9fe34c25e07ca97a60..8737101cc1c23fe4e30dcd4d348b8019b3b14abc 100644
--- a/third_party/mojo/src/mojo/edk/embedder/embedder.h
+++ b/third_party/mojo/src/mojo/edk/embedder/embedder.h
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/process/process_handle.h"
#include "base/task_runner.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h"
@@ -19,23 +20,19 @@
#include "third_party/mojo/src/mojo/edk/system/system_impl_export.h"
namespace mojo {
-namespace edk {
-class TokenSerializer;
-}
namespace embedder {
class ProcessDelegate;
-#if defined(OS_WIN)
// Wrapper functions around the ones in src/mojo/edk for component builds.
MOJO_SYSTEM_IMPL_EXPORT void PreInitializeParentProcess();
MOJO_SYSTEM_IMPL_EXPORT void PreInitializeChildProcess();
-MOJO_SYSTEM_IMPL_EXPORT HANDLE ChildProcessLaunched(HANDLE child_process);
-MOJO_SYSTEM_IMPL_EXPORT void ChildProcessLaunched(HANDLE child_process,
- HANDLE server_pipe);
-MOJO_SYSTEM_IMPL_EXPORT void SetParentPipeHandle(HANDLE pipe);
-#endif
+MOJO_SYSTEM_IMPL_EXPORT ScopedPlatformHandle ChildProcessLaunched(
+ base::ProcessHandle child_process);
+MOJO_SYSTEM_IMPL_EXPORT void ChildProcessLaunched(
+ base::ProcessHandle child_process, ScopedPlatformHandle server_pipe);
+MOJO_SYSTEM_IMPL_EXPORT void SetParentPipeHandle(ScopedPlatformHandle pipe);
// Basic configuration/initialization ------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698