| Index: remoting/webapp/unittests/dns_blackhole_checker_unittest.js
|
| diff --git a/remoting/webapp/unittests/dns_blackhole_checker_unittest.js b/remoting/webapp/unittests/dns_blackhole_checker_unittest.js
|
| index d6e7d224c5f92428a5b3c849c1cd609389585a04..6f5b0b2ed86ec036eda3d677e3b150942dd6a580 100644
|
| --- a/remoting/webapp/unittests/dns_blackhole_checker_unittest.js
|
| +++ b/remoting/webapp/unittests/dns_blackhole_checker_unittest.js
|
| @@ -2,13 +2,26 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +/**
|
| + * @fileoverview
|
| + * TODO(garykac): Create interface for SignalStrategy.
|
| + * @suppress {checkTypes|checkVars|reportUnknownTypes|visibility}
|
| + */
|
| +
|
| (function() {
|
|
|
| 'use strict';
|
|
|
| +/** @type {(sinon.Spy|function(remoting.SignalStrategy.State))} */
|
| var onStateChange = null;
|
| +
|
| +/** @type {(sinon.Spy|function(Element):void)} */
|
| var onIncomingStanzaCallback = null;
|
| +
|
| +/** @type {remoting.DnsBlackholeChecker} */
|
| var checker = null;
|
| +
|
| +/** @type {remoting.MockSignalStrategy} */
|
| var signalStrategy = null;
|
| var fakeXhrs;
|
|
|
| @@ -19,7 +32,6 @@ module('dns_blackhole_checker', {
|
| fakeXhrs.push(xhr);
|
| };
|
|
|
| -
|
| onStateChange = sinon.spy();
|
| onIncomingStanzaCallback = sinon.spy();
|
| signalStrategy = new remoting.MockSignalStrategy();
|
|
|