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

Unified Diff: remoting/webapp/crd/js/server_log_entry.js

Issue 1032553008: [Chromoting] Update client connection enums in JS to match C++. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace ClientSession.State.CREATED with INITIALIZING Created 5 years, 9 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/webapp/crd/js/log_to_server.js ('k') | remoting/webapp/crd/js/session_connector_impl.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/server_log_entry.js
diff --git a/remoting/webapp/crd/js/server_log_entry.js b/remoting/webapp/crd/js/server_log_entry.js
index 3f1cc8b7d9a6a14b0c1ef9436b9f909c6ccf920b..5a33e808fc8407b5656350eadcc06d1686385ad4 100644
--- a/remoting/webapp/crd/js/server_log_entry.js
+++ b/remoting/webapp/crd/js/server_log_entry.js
@@ -59,12 +59,12 @@ remoting.ServerLogEntry.getValueForSessionState_ = function(state) {
switch(state) {
case remoting.ClientSession.State.UNKNOWN:
return 'unknown';
- case remoting.ClientSession.State.CREATED:
- return 'created';
- case remoting.ClientSession.State.CONNECTING:
- return 'connecting';
case remoting.ClientSession.State.INITIALIZING:
return 'initializing';
+ case remoting.ClientSession.State.CONNECTING:
+ return 'connecting';
+ case remoting.ClientSession.State.AUTHENTICATED:
+ return 'authenticated';
case remoting.ClientSession.State.CONNECTED:
return 'connected';
case remoting.ClientSession.State.CLOSED:
« no previous file with comments | « remoting/webapp/crd/js/log_to_server.js ('k') | remoting/webapp/crd/js/session_connector_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698