OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 /** @suppress {duplicate} */ | |
6 var remoting = remoting || {}; | |
7 | |
8 /** @type {base.EventSource} */ | |
9 remoting.hrdSessionEvents = new base.EventSource(); | |
10 remoting.hrdSessionEvents.defineEvents(['sessionStateChanged']); | |
11 | |
12 /** @enum {string} */ | |
13 remoting.hrdSessionEvents.SessionStates = { | |
14 CONNECTING: 'CONNECTING', | |
15 CONNECTED: 'CONNECTED', | |
16 CLOSED: 'CLOSED', | |
17 ERROR: 'ERROR' | |
18 }; | |
Jamie
2014/08/05 21:15:14
I don't think you need this file at all. sessionSt
kelvinp
2014/08/07 18:03:25
See comments in hrd_helper_session.js
| |
OLD | NEW |