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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/session_connector.js
diff --git a/remoting/webapp/crd/js/session_connector.js b/remoting/webapp/crd/js/session_connector.js
deleted file mode 100644
index 4481f5c0b690bd1ac4859f4a0167e98b5183f552..0000000000000000000000000000000000000000
--- a/remoting/webapp/crd/js/session_connector.js
+++ /dev/null
@@ -1,52 +0,0 @@
-// 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.
-
-/**
- * @fileoverview
- * Interface abstracting the SessionConnector functionality.
- */
-
-'use strict';
-
-/** @suppress {duplicate} */
-var remoting = remoting || {};
-
-/**
- * @interface
- */
-remoting.SessionConnector = function() {};
-
-/**
- * Initiates a remote connection.
- *
- * @param {remoting.Application.Mode} mode
- * @param {remoting.Host} host
- * @param {remoting.CredentialsProvider} credentialsProvider
- * @param {boolean=} opt_suppressOfflineError Suppress the host offline error
- * as we use stale JID's when initiating a Me2Me. This parameter will be
- * removed when we get rid of sessionConnector altogether in a future CL.
- * @return {void} Nothing.
- */
-remoting.SessionConnector.prototype.connect =
- function(mode, host, credentialsProvider, opt_suppressOfflineError) {};
-
-/**
- * @interface
- */
-remoting.SessionConnectorFactory = function() {};
-
-/**
- * @param {HTMLElement} clientContainer Container element for the client view.
- * @param {Array<string>} requiredCapabilities Connector capabilities
- * required by this application.
- * @param {remoting.ClientSession.EventHandler} handler
- * @return {remoting.SessionConnector}
- */
-remoting.SessionConnectorFactory.prototype.createConnector =
- function(clientContainer, requiredCapabilities, handler) {};
-
-/**
- * @type {remoting.SessionConnectorFactory}
- */
-remoting.SessionConnector.factory = null;
« 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