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

Side by Side Diff: remoting/webapp/host_plugin_proto.js

Issue 10537182: The user's consent to crash dumps reporting can now be set via the UI (Windows only). The checkbox … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/host_controller.js ('k') | remoting/webapp/host_setup_dialog.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains type definitions for the host plugin. It is used only 5 // This file contains type definitions for the host plugin. It is used only
6 // with JSCompiler to verify the type-correctness of our code. 6 // with JSCompiler to verify the type-correctness of our code.
7 7
8 /** @suppress {duplicate} */ 8 /** @suppress {duplicate} */
9 var remoting = remoting || {}; 9 var remoting = remoting || {};
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 /** @param {function(string):void} callback Callback to be called with 56 /** @param {function(string):void} callback Callback to be called with
57 * the config. 57 * the config.
58 * @return {void} Nothing. */ 58 * @return {void} Nothing. */
59 remoting.HostPlugin.prototype.getDaemonConfig = function(callback) {}; 59 remoting.HostPlugin.prototype.getDaemonConfig = function(callback) {};
60 60
61 /** @param {function(string):void} callback Callback to be called with 61 /** @param {function(string):void} callback Callback to be called with
62 * the version, as a dotted string. 62 * the version, as a dotted string.
63 * @return {void} Nothing. */ 63 * @return {void} Nothing. */
64 remoting.HostPlugin.prototype.getDaemonVersion = function(callback) {}; 64 remoting.HostPlugin.prototype.getDaemonVersion = function(callback) {};
65 65
66 /** @param {function(boolean, boolean, boolean):void} callback Callback to be
67 * called with the consent.
68 * @return {void} Nothing. */
69 remoting.HostPlugin.prototype.getUsageStatsConsent = function(callback) {};
70
66 /** @param {string} config Host configuration. 71 /** @param {string} config Host configuration.
67 * @param {function(remoting.HostController.AsyncResult):void} callback 72 * @param {function(remoting.HostController.AsyncResult):void} callback
68 * Callback to be called when finished. 73 * Callback to be called when finished.
69 * @return {void} Nothing. */ 74 * @return {void} Nothing. */
70 remoting.HostPlugin.prototype.startDaemon = function(config, callback) {}; 75 remoting.HostPlugin.prototype.startDaemon = function(
76 config, consent, callback) {};
71 77
72 /** @param {function(remoting.HostController.AsyncResult):void} callback 78 /** @param {function(remoting.HostController.AsyncResult):void} callback
73 * Callback to be called when finished. 79 * Callback to be called when finished.
74 * @return {void} Nothing. */ 80 * @return {void} Nothing. */
75 remoting.HostPlugin.prototype.stopDaemon = function(callback) {}; 81 remoting.HostPlugin.prototype.stopDaemon = function(callback) {};
76 82
77 /** @type {number} */ remoting.HostPlugin.prototype.state; 83 /** @type {number} */ remoting.HostPlugin.prototype.state;
78 84
79 /** @type {number} */ remoting.HostPlugin.prototype.STARTING; 85 /** @type {number} */ remoting.HostPlugin.prototype.STARTING;
80 /** @type {number} */ remoting.HostPlugin.prototype.REQUESTED_ACCESS_CODE; 86 /** @type {number} */ remoting.HostPlugin.prototype.REQUESTED_ACCESS_CODE;
81 /** @type {number} */ remoting.HostPlugin.prototype.RECEIVED_ACCESS_CODE; 87 /** @type {number} */ remoting.HostPlugin.prototype.RECEIVED_ACCESS_CODE;
82 /** @type {number} */ remoting.HostPlugin.prototype.CONNECTED; 88 /** @type {number} */ remoting.HostPlugin.prototype.CONNECTED;
83 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTED; 89 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTED;
84 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTING; 90 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTING;
85 /** @type {number} */ remoting.HostPlugin.prototype.ERROR; 91 /** @type {number} */ remoting.HostPlugin.prototype.ERROR;
86 92
87 /** @type {string} */ remoting.HostPlugin.prototype.accessCode; 93 /** @type {string} */ remoting.HostPlugin.prototype.accessCode;
88 /** @type {number} */ remoting.HostPlugin.prototype.accessCodeLifetime; 94 /** @type {number} */ remoting.HostPlugin.prototype.accessCodeLifetime;
89 95
90 /** @type {string} */ remoting.HostPlugin.prototype.client; 96 /** @type {string} */ remoting.HostPlugin.prototype.client;
91 97
92 /** @type {remoting.HostController.State} */ 98 /** @type {remoting.HostController.State} */
93 remoting.HostPlugin.prototype.daemonState; 99 remoting.HostPlugin.prototype.daemonState;
94 100
95 /** @type {function(boolean):void} */ 101 /** @type {function(boolean):void} */
96 remoting.HostPlugin.prototype.onNatTraversalPolicyChanged; 102 remoting.HostPlugin.prototype.onNatTraversalPolicyChanged;
OLDNEW
« no previous file with comments | « remoting/webapp/host_controller.js ('k') | remoting/webapp/host_setup_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698