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

Unified Diff: remoting/webapp/crd/js/connection_info.js

Issue 1133913002: [Chromoting] Move shared webapp JS files from crd/js -> base/js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/connected_view.js ('k') | remoting/webapp/crd/js/connection_stats.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/connection_info.js
diff --git a/remoting/webapp/crd/js/connection_info.js b/remoting/webapp/crd/js/connection_info.js
deleted file mode 100644
index 3e6b82147551eb1a9487bdd8cfe153f80294d3ff..0000000000000000000000000000000000000000
--- a/remoting/webapp/crd/js/connection_info.js
+++ /dev/null
@@ -1,55 +0,0 @@
-// 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';
-
-/**
- * A struct that encapsulates the states of a remoting connection. It does not
- * manage the lifetime of its constituents.
- *
- * @param {remoting.Host} host
- * @param {remoting.CredentialsProvider} credentialsProvider
- * @param {remoting.ClientSession} session
- * @param {remoting.ClientPlugin} plugin
- *
- * @constructor
- * @struct
- */
-remoting.ConnectionInfo = function(host, credentialsProvider, session, plugin) {
- /** @private */
- this.host_ = host;
- /** @private */
- this.credentialsProvider_ = credentialsProvider;
- /** @private */
- this.session_ = session;
- /** @private */
- this.plugin_ = plugin;
-};
-
-/** @returns {remoting.Host} */
-remoting.ConnectionInfo.prototype.host = function() {
- return this.host_;
-};
-
-/** @returns {remoting.CredentialsProvider} */
-remoting.ConnectionInfo.prototype.credentialsProvider = function() {
- return this.credentialsProvider_;
-};
-
-/** @returns {remoting.ClientSession} */
-remoting.ConnectionInfo.prototype.session = function() {
- return this.session_;
-};
-
-/** @returns {remoting.ClientPlugin} */
-remoting.ConnectionInfo.prototype.plugin = function() {
- return this.plugin_;
-};
-
-})();
« no previous file with comments | « remoting/webapp/crd/js/connected_view.js ('k') | remoting/webapp/crd/js/connection_stats.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698