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

Side by Side Diff: remoting/webapp/base/js/chromoting_event.js

Issue 1397463003: Report the Auth method for me2me connections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's feedback Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | remoting/webapp/base/js/client_session.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // `7MM"""Mq. `7MM 5 // `7MM"""Mq. `7MM
6 // MM `MM. MM 6 // MM `MM. MM
7 // MM ,M9 .gP"Ya ,6"Yb. ,M""bMM `7MMpMMMb.pMMMb. .gP"Ya 7 // MM ,M9 .gP"Ya ,6"Yb. ,M""bMM `7MMpMMMb.pMMMb. .gP"Ya
8 // MMmmdM9 ,M' Yb 8) MM ,AP MM MM MM MM ,M' Yb 8 // MMmmdM9 ,M' Yb 8) MM ,AP MM MM MM MM ,M' Yb
9 // MM YM. 8M"""""" ,pm9MM 8MI MM MM MM MM 8M"""""" 9 // MM YM. 8M"""""" ,pm9MM 8MI MM MM MM MM 8M""""""
10 // MM `Mb.YM. , 8M MM `Mb MM MM MM MM YM. , 10 // MM `Mb.YM. , 8M MM `Mb MM MM MM MM YM. ,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 this.signal_strategy_type; 85 this.signal_strategy_type;
86 /** @type {remoting.ChromotingEvent.SignalStrategyProgress} */ 86 /** @type {remoting.ChromotingEvent.SignalStrategyProgress} */
87 this.signal_strategy_progress; 87 this.signal_strategy_progress;
88 /** @type {?remoting.ChromotingEvent.XmppError} */ 88 /** @type {?remoting.ChromotingEvent.XmppError} */
89 this.xmpp_error; 89 this.xmpp_error;
90 /** @type {remoting.ChromotingEvent.SessionEntryPoint} */ 90 /** @type {remoting.ChromotingEvent.SessionEntryPoint} */
91 this.session_entry_point; 91 this.session_entry_point;
92 /** @type {number} */ 92 /** @type {number} */
93 this.host_status_update_elapsed_time; 93 this.host_status_update_elapsed_time;
94 94
95 /** @type {remoting.ChromotingEvent.AuthMethod} */
96 this.auth_method;
97
95 this.init_(); 98 this.init_();
96 }; 99 };
97 100
98 /** @private */ 101 /** @private */
99 remoting.ChromotingEvent.prototype.init_ = function() { 102 remoting.ChromotingEvent.prototype.init_ = function() {
100 // System Info. 103 // System Info.
101 var systemInfo = remoting.getSystemInfo(); 104 var systemInfo = remoting.getSystemInfo();
102 this.cpu = systemInfo.cpu; 105 this.cpu = systemInfo.cpu;
103 this.os_version = systemInfo.osVersion; 106 this.os_version = systemInfo.osVersion;
104 if (systemInfo.osName === remoting.Os.WINDOWS) { 107 if (systemInfo.osName === remoting.Os.WINDOWS) {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 }; 280 };
278 281
279 /** @enum {number} */ 282 /** @enum {number} */
280 remoting.ChromotingEvent.SignalStrategyProgress = { 283 remoting.ChromotingEvent.SignalStrategyProgress = {
281 SUCCEEDED: 1, 284 SUCCEEDED: 1,
282 FAILED: 2, 285 FAILED: 2,
283 TIMED_OUT: 3, 286 TIMED_OUT: 3,
284 SUCCEEDED_LATE: 4, 287 SUCCEEDED_LATE: 4,
285 FAILED_LATE: 5 288 FAILED_LATE: 5
286 }; 289 };
290
291 /** @enum {number} */
292 remoting.ChromotingEvent.AuthMethod = {
293 PIN: 1,
294 ACCESS_CODE: 2,
295 PINLESS: 3,
296 THIRD_PARTY: 4,
297 };
OLDNEW
« no previous file with comments | « no previous file | remoting/webapp/base/js/client_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698