Index: remoting/protocol/connection_to_host.h |
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h |
index 01aff15fbdc4af7a31eb8265d925ade2b8e62d95..aadfa7bd1fe22482075d2c795f069c1e9fe92c34 100644 |
--- a/remoting/protocol/connection_to_host.h |
+++ b/remoting/protocol/connection_to_host.h |
@@ -51,6 +51,12 @@ class ConnectionToHost : public SignalStrategy::Listener, |
public Session::EventHandler, |
public base::NonThreadSafe { |
public: |
+ // The UI implementations maintain corresponding definitions of this |
+ // enumeration in webapp/client_session.js and |
+ // android/java/res/values/strings.xml. The Android app also includes a |
+ // constant in android/java/src/org/chromium/chromoting/jni/JniInterface.java |
+ // that tracks the numeric value of the CONNECTED state. Be sure to update |
+ // these locations to match this one if you make any changes to the ordering. |
enum State { |
INITIALIZING, |
CONNECTING, |