| Index: remoting/webapp/jscompiler_hacks.js
|
| diff --git a/remoting/webapp/jscompiler_hacks.js b/remoting/webapp/jscompiler_hacks.js
|
| index 28551e2831b1d77411afc5e6a3166892cab6d4db..9d58e1dd7f44919ea87af4384fc4ebd9a0e2d553 100644
|
| --- a/remoting/webapp/jscompiler_hacks.js
|
| +++ b/remoting/webapp/jscompiler_hacks.js
|
| @@ -69,4 +69,43 @@ chrome.storage = {};
|
|
|
| // TODO(jamiewalch): Flesh this out with the correct type when we're a v2 app.
|
| /** @type {remoting.MockStorage} */
|
| -chrome.storage.local = null;
|
| +chrome.storage.local = null;
|
| +
|
| +/** @type {Object} */
|
| +chrome.app.runtime = {
|
| + /** @type {Object} */
|
| + onLaunched: {
|
| + /** @param {function():void} callback */
|
| + addListener: function(callback) {}
|
| + }
|
| +};
|
| +
|
| +/** @type {Object} */
|
| +chrome.app.window = {
|
| + /**
|
| + * @param {string} name
|
| + * @param {Object} parameters
|
| + */
|
| + create: function(name, parameters) {}
|
| +};
|
| +
|
| +/** @type {Object} */
|
| +chrome.experimental = {};
|
| +
|
| +/** @type {Object} */
|
| +chrome.experimental.identity = {
|
| + /**
|
| + * @param {Object.<string>} parameters
|
| + * @param {function(string):void} callback
|
| + */
|
| + getAuthToken: function(parameters, callback) {}
|
| +};
|
| +
|
| +/** @type {Object} */
|
| +chrome.runtime = {
|
| + /** @type {Object} */
|
| + lastError: {
|
| + /** @type {string} */
|
| + message: ''
|
| + }
|
| +};
|
|
|