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

Side by Side Diff: remoting/webapp/crd/js/session_connector.js

Issue 1097133002: [Webapp Refactor] Remove remoting.SessionConnector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge conflicts Created 5 years, 8 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 unified diff | Download patch
OLDNEW
(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 /**
6 * @fileoverview
7 * Interface abstracting the SessionConnector functionality.
8 */
9
10 'use strict';
11
12 /** @suppress {duplicate} */
13 var remoting = remoting || {};
14
15 /**
16 * @interface
17 */
18 remoting.SessionConnector = function() {};
19
20 /**
21 * Initiates a remote connection.
22 *
23 * @param {remoting.Application.Mode} mode
24 * @param {remoting.Host} host
25 * @param {remoting.CredentialsProvider} credentialsProvider
26 * @param {boolean=} opt_suppressOfflineError Suppress the host offline error
27 * as we use stale JID's when initiating a Me2Me. This parameter will be
28 * removed when we get rid of sessionConnector altogether in a future CL.
29 * @return {void} Nothing.
30 */
31 remoting.SessionConnector.prototype.connect =
32 function(mode, host, credentialsProvider, opt_suppressOfflineError) {};
33
34 /**
35 * @interface
36 */
37 remoting.SessionConnectorFactory = function() {};
38
39 /**
40 * @param {HTMLElement} clientContainer Container element for the client view.
41 * @param {Array<string>} requiredCapabilities Connector capabilities
42 * required by this application.
43 * @param {remoting.ClientSession.EventHandler} handler
44 * @return {remoting.SessionConnector}
45 */
46 remoting.SessionConnectorFactory.prototype.createConnector =
47 function(clientContainer, requiredCapabilities, handler) {};
48
49 /**
50 * @type {remoting.SessionConnectorFactory}
51 */
52 remoting.SessionConnector.factory = null;
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/mock_session_connector.js ('k') | remoting/webapp/crd/js/session_connector_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698