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.HangoutSessionEvents = new base.EventSource(); | |
Jamie
2014/08/07 23:12:36
s/Hangout/hangout/ (initial capital is just for cl
kelvinp
2014/08/08 01:14:22
Done.
| |
10 | |
11 /** @type {string} */ | |
12 remoting.HangoutSessionEvents.sessionStateChanged = 'sessionStateChanged'; | |
13 | |
14 remoting.HangoutSessionEvents.defineEvents( | |
15 [remoting.HangoutSessionEvents.sessionStateChanged]); | |
16 | |
17 /** @enum {string} */ | |
18 remoting.HangoutSessionEvents.SessionStates = { | |
19 CONNECTING: 'CONNECTING', | |
20 CONNECTED: 'CONNECTED', | |
21 CLOSED: 'CLOSED', | |
22 ERROR: 'ERROR' | |
Jamie
2014/08/07 23:12:36
We aready have ClientSession.State, which I think
kelvinp
2014/08/08 01:14:22
Done.
| |
23 }; | |
OLD | NEW |