Index: remoting/host/setup/native_messaging_host.h |
diff --git a/remoting/host/setup/native_messaging_host.h b/remoting/host/setup/native_messaging_host.h |
index 9c375ad56c7693631cb7cac3573b06b68e46aee3..08047ae792156de8698316e56d2989c3bddd7de6 100644 |
--- a/remoting/host/setup/native_messaging_host.h |
+++ b/remoting/host/setup/native_messaging_host.h |
@@ -25,6 +25,22 @@ namespace remoting { |
// Implementation of the native messaging host process. |
class NativeMessagingHost { |
public: |
+ |
+ // These names must match the enumeration key names in host_controller.js. |
+ static const char kStateNotImplemented[]; |
+ static const char kStateNotInstalled[]; |
+ static const char kStateInstalling[]; |
+ static const char kStateStopped[]; |
+ static const char kStateStarting[]; |
+ static const char kStateStarted[]; |
+ static const char kStateStopping[]; |
+ static const char kStateUnknown[]; |
+ |
+ static const char kResultOk[]; |
+ static const char kResultFailed[]; |
+ static const char kResultCancelled[]; |
+ static const char kResultFailedDirectory[]; |
+ |
NativeMessagingHost( |
scoped_ptr<DaemonController> daemon_controller, |
base::PlatformFile input, |