| OLD | NEW |
| 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 | 5 |
| 6 /** @suppress {duplicate} */ | 6 /** @suppress {duplicate} */ |
| 7 var remoting = remoting || {}; | 7 var remoting = remoting || {}; |
| 8 | 8 |
| 9 (function() { | 9 (function() { |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 * | 51 * |
| 52 * @param {string} connectionType | 52 * @param {string} connectionType |
| 53 */ | 53 */ |
| 54 remoting.Logger.prototype.setConnectionType = function(connectionType) {}; | 54 remoting.Logger.prototype.setConnectionType = function(connectionType) {}; |
| 55 | 55 |
| 56 /** | 56 /** |
| 57 * @param {remoting.ChromotingEvent.Mode} mode | 57 * @param {remoting.ChromotingEvent.Mode} mode |
| 58 */ | 58 */ |
| 59 remoting.Logger.prototype.setLogEntryMode = function(mode) {}; | 59 remoting.Logger.prototype.setLogEntryMode = function(mode) {}; |
| 60 | 60 |
| 61 /** |
| 62 * @param {remoting.ChromotingEvent.AuthMethod} method |
| 63 */ |
| 64 remoting.Logger.prototype.setAuthMethod = function(method) {}; |
| 61 | 65 |
| 62 /** | 66 /** |
| 63 * @param {remoting.SignalStrategy.Type} strategyType | 67 * @param {remoting.SignalStrategy.Type} strategyType |
| 64 * @param {remoting.FallbackSignalStrategy.Progress} progress | 68 * @param {remoting.FallbackSignalStrategy.Progress} progress |
| 65 */ | 69 */ |
| 66 remoting.Logger.prototype.logSignalStrategyProgress = | 70 remoting.Logger.prototype.logSignalStrategyProgress = |
| 67 function(strategyType, progress) {}; | 71 function(strategyType, progress) {}; |
| 68 | 72 |
| 69 /** | 73 /** |
| 70 * Logs a client session state change. | 74 * Logs a client session state change. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 92 remoting.Logger.prototype.getSessionId = function() {}; | 96 remoting.Logger.prototype.getSessionId = function() {}; |
| 93 | 97 |
| 94 // The maximum age of a session ID, in milliseconds. | 98 // The maximum age of a session ID, in milliseconds. |
| 95 remoting.Logger.MAX_SESSION_ID_AGE = 24 * 60 * 60 * 1000; | 99 remoting.Logger.MAX_SESSION_ID_AGE = 24 * 60 * 60 * 1000; |
| 96 | 100 |
| 97 // The time over which to accumulate connection statistics before logging them | 101 // The time over which to accumulate connection statistics before logging them |
| 98 // to the server, in milliseconds. | 102 // to the server, in milliseconds. |
| 99 remoting.Logger.CONNECTION_STATS_ACCUMULATE_TIME = 60 * 1000; | 103 remoting.Logger.CONNECTION_STATS_ACCUMULATE_TIME = 60 * 1000; |
| 100 | 104 |
| 101 })(); | 105 })(); |
| OLD | NEW |