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

Side by Side Diff: remoting/webapp/base/js/protocol_extension.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
« no previous file with comments | « remoting/webapp/base/js/application.js ('k') | remoting/webapp/crd/js/client_session.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Interface abstracting the protocol extension functionality. 7 * Interface abstracting the protocol extension functionality.
8 * Instances of this class can be registered with the SessionConnector 8 * Instances of this class can be registered with the ProtocolExtensionManager
9 * to enhance the communication protocol between the host and client. 9 * to enhance the communication protocol between the host and client.
10 * Note that corresponding support on the host side is required. 10 * Note that corresponding support on the host side is required.
11 */ 11 */
12 12
13 'use strict'; 13 'use strict';
14 14
15 /** @suppress {duplicate} */ 15 /** @suppress {duplicate} */
16 var remoting = remoting || {}; 16 var remoting = remoting || {};
17 17
18 /** 18 /**
(...skipping 20 matching lines...) Expand all
39 39
40 /** 40 /**
41 * Called when an extension message of a matching type is received. 41 * Called when an extension message of a matching type is received.
42 * 42 *
43 * @param {string} type The message type. 43 * @param {string} type The message type.
44 * @param {Object} message The parsed extension message data. 44 * @param {Object} message The parsed extension message data.
45 * @return {boolean} True if the extension message was handled. 45 * @return {boolean} True if the extension message was handled.
46 */ 46 */
47 remoting.ProtocolExtension.prototype.onExtensionMessage = 47 remoting.ProtocolExtension.prototype.onExtensionMessage =
48 function(type, message) {}; 48 function(type, message) {};
OLDNEW
« no previous file with comments | « remoting/webapp/base/js/application.js ('k') | remoting/webapp/crd/js/client_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698