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 * @fileoverview | 6 * @fileoverview |
7 * TODO(garykac): Create interface for SignalStrategy. | 7 * TODO(garykac): Create interface for SignalStrategy. |
8 * @suppress {checkTypes|checkVars|reportUnknownTypes|visibility} | 8 * @suppress {checkTypes|checkVars|reportUnknownTypes|visibility} |
9 */ | 9 */ |
10 | 10 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 }); | 188 }); |
189 }).then(function() { | 189 }).then(function() { |
190 sinon.assert.calledWith(onStateChange, | 190 sinon.assert.calledWith(onStateChange, |
191 remoting.SignalStrategy.State.FAILED); | 191 remoting.SignalStrategy.State.FAILED); |
192 assert.ok(checker.getError().hasTag(remoting.Error.Tag.NOT_AUTHORIZED)); | 192 assert.ok(checker.getError().hasTag(remoting.Error.Tag.NOT_AUTHORIZED)); |
193 }); | 193 }); |
194 } | 194 } |
195 ); | 195 ); |
196 | 196 |
197 })(); | 197 })(); |
OLD | NEW |