blob: 44e2fab03bb96d3b736877ec05e06edb117082e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright 2015 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 || {};
(function() {
'use strict';
/**
* An Activity is a responsible for
* 1. Showing the appropriate UX to establish a connection with the host and
* create a remoting.ClientSession.
* 2. Handling connection failures and retrying if necessary.
* 3. Responding to session state changes and showing UX if necessary.
*
* @interface
* @extends {base.Disposable}
* @extends {remoting.ClientSession.EventHandler}
*/
remoting.Activity = function() {};
/**
* Starts a new connection.
*
* @return {void}
*/
remoting.Activity.prototype.start = function() {};
})();
|