Index: ipc/mojo/ipc_mojo_bootstrap.h |
diff --git a/ipc/mojo/ipc_mojo_bootstrap.h b/ipc/mojo/ipc_mojo_bootstrap.h |
index f0e41886c5f8afbb635232d6caeb9aa57e7cc85a..4f4f9eedf1a0d189e7f0a22a23106be5dbfb23cb 100644 |
--- a/ipc/mojo/ipc_mojo_bootstrap.h |
+++ b/ipc/mojo/ipc_mojo_bootstrap.h |
@@ -55,10 +55,11 @@ class IPC_MOJO_EXPORT MojoBootstrap : public Listener { |
#endif // defined(OS_POSIX) && !defined(OS_NACL) |
protected: |
- enum State { STATE_INITIALIZED, STATE_WAITING_ACK, STATE_READY }; |
+ enum State { STATE_INITIALIZED, STATE_WAITING_ACK, STATE_READY, STATE_ERROR }; |
Delegate* delegate() const { return delegate_; } |
bool Send(Message* message); |
+ void Fail(); |
State state() const { return state_; } |
void set_state(State state) { state_ = state; } |