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

Unified Diff: ipc/mojo/ipc_mojo_bootstrap_delegate.h

Issue 553283002: IPC::ChannelMojo: Introduce IPC::MojoBootstrap for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing windows build error Created 6 years, 3 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
Index: ipc/mojo/ipc_mojo_bootstrap_delegate.h
diff --git a/ipc/mojo/ipc_mojo_bootstrap_delegate.h b/ipc/mojo/ipc_mojo_bootstrap_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..10ebe8dfb526931007760cc6a7f0a98b562e7146
--- /dev/null
+++ b/ipc/mojo/ipc_mojo_bootstrap_delegate.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IPC_MOJO_IPC_MOJO_BOOTSTRAP_DELEGATE_H_
+#define IPC_MOJO_IPC_MOJO_BOOTSTRAP_DELEGATE_H_
+
+#include "mojo/embedder/scoped_platform_handle.h"
+
+namespace IPC {
+
+class MojoBootstrapDelegate {
viettrungluu 2014/09/15 20:19:44 Normally, I'm a fan of standalone delegate classes
Hajime Morrita 2014/09/15 22:01:37 Made it an inner class. I hoped it help to hide so
+ public:
+ virtual void OnPipeAvailable(mojo::embedder::ScopedPlatformHandle handle) = 0;
+ virtual void OnBootstrapError() = 0;
+};
+}
+
+#endif // namaespace IPC_MOJO_IPC_MOJO_BOOTSTRAP_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698