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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 105943010: Android Chromoting - Close the Desktop view on disconnection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use Java enum for state/error codes Created 6 years, 11 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
Index: remoting/protocol/connection_to_host.h
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
index aadfa7bd1fe22482075d2c795f069c1e9fe92c34..78c258ef98f2934d5f343b8c956b81ebf0540afb 100644
--- a/remoting/protocol/connection_to_host.h
+++ b/remoting/protocol/connection_to_host.h
@@ -52,11 +52,10 @@ class ConnectionToHost : public SignalStrategy::Listener,
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.
+ // enumeration in webapp/client_session.js,
+ // android/java/res/values/strings.xml and
+ // android/java/src/org/chromium/chromoting/jni/JniInterface.java. Be sure to
+ // update these locations if you make any changes to the ordering.
enum State {
INITIALIZING,
CONNECTING,

Powered by Google App Engine
This is Rietveld 408576698