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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 19506004: Add the beginnings of a Chromoting Android app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minimize monitor use, concatenate using StringBuilder, tune host list spacing, make build target re… Created 7 years, 5 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
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java ('k') | remoting/protocol/errors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java ('k') | remoting/protocol/errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698