Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: remoting/webapp/hrd_session_events.js

Issue 439923002: Hangout remote desktop part I - It2Me mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/hrd_session_events.js
diff --git a/remoting/webapp/hrd_session_events.js b/remoting/webapp/hrd_session_events.js
new file mode 100644
index 0000000000000000000000000000000000000000..356299bfd7bfb1d6a64d3afedf7ebcc21f2110a0
--- /dev/null
+++ b/remoting/webapp/hrd_session_events.js
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/** @suppress {duplicate} */
+var remoting = remoting || {};
+
+/** @type {base.EventSource} */
+remoting.hrdSessionEvents = new base.EventSource();
+remoting.hrdSessionEvents.defineEvents(['sessionStateChanged']);
+
+/** @enum {string} */
+remoting.hrdSessionEvents.SessionStates = {
+ CONNECTING: 'CONNECTING',
+ CONNECTED: 'CONNECTED',
+ CLOSED: 'CLOSED',
+ ERROR: 'ERROR'
+};
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

Powered by Google App Engine
This is Rietveld 408576698