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

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: 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
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(int):void} callback Callback to be called with
67 * the consent.
68 * @return {void} Nothing. */
69 remoting.HostPlugin.prototype.getUsageStatsConsent = function(callback) {};
70
71 /** @param int allowed True if the user agreed to report crash dumps, False
72 * otherwise.
73 * @return {void} Nothing. */
74 remoting.HostPlugin.prototype.setUsageStatsConsent = function(allowed) {};
75
66 /** @param {string} config Host configuration. 76 /** @param {string} config Host configuration.
67 * @param {function(remoting.HostController.AsyncResult):void} callback 77 * @param {function(remoting.HostController.AsyncResult):void} callback
68 * Callback to be called when finished. 78 * Callback to be called when finished.
69 * @return {void} Nothing. */ 79 * @return {void} Nothing. */
70 remoting.HostPlugin.prototype.startDaemon = function(config, callback) {}; 80 remoting.HostPlugin.prototype.startDaemon = function(config, callback) {};
71 81
72 /** @param {function(remoting.HostController.AsyncResult):void} callback 82 /** @param {function(remoting.HostController.AsyncResult):void} callback
73 * Callback to be called when finished. 83 * Callback to be called when finished.
74 * @return {void} Nothing. */ 84 * @return {void} Nothing. */
75 remoting.HostPlugin.prototype.stopDaemon = function(callback) {}; 85 remoting.HostPlugin.prototype.stopDaemon = function(callback) {};
(...skipping 11 matching lines...) Expand all
87 /** @type {string} */ remoting.HostPlugin.prototype.accessCode; 97 /** @type {string} */ remoting.HostPlugin.prototype.accessCode;
88 /** @type {number} */ remoting.HostPlugin.prototype.accessCodeLifetime; 98 /** @type {number} */ remoting.HostPlugin.prototype.accessCodeLifetime;
89 99
90 /** @type {string} */ remoting.HostPlugin.prototype.client; 100 /** @type {string} */ remoting.HostPlugin.prototype.client;
91 101
92 /** @type {remoting.HostController.State} */ 102 /** @type {remoting.HostController.State} */
93 remoting.HostPlugin.prototype.daemonState; 103 remoting.HostPlugin.prototype.daemonState;
94 104
95 /** @type {function(boolean):void} */ 105 /** @type {function(boolean):void} */
96 remoting.HostPlugin.prototype.onNatTraversalPolicyChanged; 106 remoting.HostPlugin.prototype.onNatTraversalPolicyChanged;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698