OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IPC_MOJO_IPC_MOJO_BOOTSTRAP_DELEGATE_H_ | |
6 #define IPC_MOJO_IPC_MOJO_BOOTSTRAP_DELEGATE_H_ | |
7 | |
8 #include "mojo/embedder/scoped_platform_handle.h" | |
9 | |
10 namespace IPC { | |
11 | |
12 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
| |
13 public: | |
14 virtual void OnPipeAvailable(mojo::embedder::ScopedPlatformHandle handle) = 0; | |
15 virtual void OnBootstrapError() = 0; | |
16 }; | |
17 } | |
18 | |
19 #endif // namaespace IPC_MOJO_IPC_MOJO_BOOTSTRAP_DELEGATE_H_ | |
OLD | NEW |