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

Unified Diff: remoting/webapp/crd/js/session_connector_impl.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/server_log_entry.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/session_connector_impl.js
diff --git a/remoting/webapp/crd/js/session_connector_impl.js b/remoting/webapp/crd/js/session_connector_impl.js
index 0d9ea5b8c58244b80060fe1ee5b5414d9b8b52cd..bbb89937b16ab060958cbe8641e3469a6b425c7e 100644
--- a/remoting/webapp/crd/js/session_connector_impl.js
+++ b/remoting/webapp/crd/js/session_connector_impl.js
@@ -491,10 +491,6 @@ remoting.SessionConnectorImpl.prototype.onStateChange_ = function(event) {
this.initProtocolExtensions_();
break;
- case remoting.ClientSession.State.CREATED:
- console.log('Created plugin');
- break;
-
case remoting.ClientSession.State.CONNECTING:
remoting.identity.getEmail().then(
function(/** string */ email) {
@@ -502,6 +498,10 @@ remoting.SessionConnectorImpl.prototype.onStateChange_ = function(event) {
});
break;
+ case remoting.ClientSession.State.AUTHENTICATED:
+ console.log('Connection authenticated');
+ break;
+
case remoting.ClientSession.State.INITIALIZING:
console.log('Initializing connection');
break;
« no previous file with comments | « remoting/webapp/crd/js/server_log_entry.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698