Commit dba107b0 authored by dpapad's avatar dpapad Committed by Commit Bot

Roll closure compiler

Change log:
https://github.com/google/closure-compiler/compare/a13d0ba6d2b02b2188137b36cb699415bd8784c5...71ab0eecc33e2d8db1ce9ee251cbf174bddc493b
chrome_extensions.js: 927e44d6e32d7b2f50ddb2b20f6515b79a0914b3 -> 3444857184440010d5703dfaf6617eca79b2dab4
polymer-1.0.js: cc53ce238def6597f71ddd75e961011edb18e6a3 -> 55e962227e676cd30f81439573771326933aae54

Latest version includes a fix for using let/const with ChromePass, at
https://github.com/google/closure-compiler/commit/38f6437482b6d660371342469e9bd062613b25d4.

TBR=dbeam@chromium.org

BUG: 671426
Change-Id: Icf80fa1dd526e3cb87cc528d84a0a9540bf85e97
Reviewed-on: https://chromium-review.googlesource.com/567678
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarDan Beam (no longer on Chrome) <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486279}
parent 0a899561
......@@ -237,7 +237,7 @@ Polymer({
/** @private */
onImportantSitesCancelTap_: function() {
this.$$('#importantSitesDialog').cancel();
/** @type {!CrDialogElement} */ (this.$$('#importantSitesDialog')).cancel();
},
/**
......
......@@ -6,6 +6,7 @@
{
'target_name': 'clear_browsing_data_browser_proxy',
'dependencies': [
'<(DEPTH)/ui/webui/resources/cr_elements/cr_dialog/compiled_resources2.gyp:cr_dialog',
'<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:cr',
],
'includes': ['../../../../../third_party/closure_compiler/compile_js2.gypi'],
......
......@@ -3,7 +3,7 @@ Short Name: closure-compiler
URL: http://github.com/google/closure-compiler
Version: v20150729-236-gad656a1
Date: 2015/08/26 08:46
Revision: a13d0ba6d2b02b2188137b36cb699415bd8784c5
Revision: 71ab0eecc33e2d8db1ce9ee251cbf174bddc493b
License: Apache 2.0
License File: LICENSE
Security Critical: no
......
......@@ -1472,6 +1472,25 @@ chrome.bluetoothLowEnergy.Service.prototype.instanceId;
chrome.bluetoothLowEnergy.Service.prototype.deviceAddress;
/**
* @constructor
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#type-Request
*/
chrome.bluetoothLowEnergy.Request = function() {};
/** @type {number} */
chrome.bluetoothLowEnergy.Request.prototype.requestId;
/** @type {!Object} */
chrome.bluetoothLowEnergy.Request.prototype.device;
/** @type {!ArrayBuffer|undefined} */
chrome.bluetoothLowEnergy.Request.prototype.value;
/**
* @constructor
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#type-Characteristic
......@@ -1513,6 +1532,10 @@ chrome.bluetoothLowEnergy.Descriptor.prototype.uuid;
chrome.bluetoothLowEnergy.Descriptor.prototype.characteristic;
/** @type {!Array<string>} */
chrome.bluetoothLowEnergy.Descriptor.prototype.permissions;
/** @type {string|undefined} */
chrome.bluetoothLowEnergy.Descriptor.prototype.instanceId;
......@@ -1558,6 +1581,15 @@ chrome.bluetoothLowEnergy.disconnect = function(deviceAddress, opt_callback) {};
chrome.bluetoothLowEnergy.getService = function(serviceId, callback) {};
/**
* @param {!chrome.bluetoothLowEnergy.Service} service
* @param {function(string)} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-createService
* @return {undefined}
*/
chrome.bluetoothLowEnergy.createService = function(service, callback) {};
/**
* @param {string} deviceAddress
* @param {function(!Array<!chrome.bluetoothLowEnergy.Service>)} callback
......@@ -1577,6 +1609,17 @@ chrome.bluetoothLowEnergy.getCharacteristic =
function(characteristicId, callback) {};
/**
* @param {!chrome.bluetoothLowEnergy.Characteristic} characteristic
* @param {string} serviceId
* @param {function(string)} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-createCharacteristic
* @return {undefined}
*/
chrome.bluetoothLowEnergy.createCharacteristic = function(
characteristic, serviceId, callback) {};
/**
* @param {string} serviceId
* @param {function(!Array<!chrome.bluetoothLowEnergy.Characteristic>)}
......@@ -1607,6 +1650,17 @@ chrome.bluetoothLowEnergy.getIncludedServices =
chrome.bluetoothLowEnergy.getDescriptor = function(descriptorId, callback) {};
/**
* @param {!chrome.bluetoothLowEnergy.Descriptor} descriptor
* @param {string} characteristicId
* @param {function(string)} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-createDescriptor
* @return {undefined}
*/
chrome.bluetoothLowEnergy.createDescriptor = function(
descriptor, characteristicId, callback) {};
/**
* @param {string} characteristicId
* @param {function(!Array<!chrome.bluetoothLowEnergy.Descriptor>)} callback
......@@ -1667,6 +1721,26 @@ chrome.bluetoothLowEnergy.stopCharacteristicNotifications =
function(characteristicId, opt_callback) {};
/**
* @typedef{?{
* value: !ArrayBuffer,
* shouldIndicate: (boolean|undefined)
* }}
*/
chrome.bluetoothLowEnergy.NotificationIndication;
/**
* @param {string} characteristicId
* @param {!chrome.bluetoothLowEnergy.NotificationIndication} notification
* @param {function()} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-notifyCharacteristicValueChanged
* @return {undefined}
*/
chrome.bluetoothLowEnergy.notifyCharacteristicValueChanged = function(
characteristicId, notification, callback) {};
/**
* @param {string} descriptorId
* @param {function(!chrome.bluetoothLowEnergy.Descriptor)} callback
......@@ -1688,6 +1762,87 @@ chrome.bluetoothLowEnergy.writeDescriptorValue =
function(descriptorId, value, callback) {};
/**
* @param {string} serviceId
* @param {function()} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-registerService
* @return {undefined}
*/
chrome.bluetoothLowEnergy.registerService = function(serviceId, callback) {};
/**
* @param {string} serviceId
* @param {function()} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-unregisterService
* @return {undefined}
*/
chrome.bluetoothLowEnergy.unregisterService = function(serviceId, callback) {};
/**
* @param {string} serviceId
* @param {function()=} opt_callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-removeService
* @return {undefined}
*/
chrome.bluetoothLowEnergy.removeService = function(serviceId, opt_callback) {};
/**
* @typedef {?{
* type: string,
* serviceUuids: (!Array<string>|undefined),
* manufacturerData: (!Array<{id: number, data: !Array<number>}>|undefined),
* solicitUuids: (!Array<string>|undefined),
* serviceData: (!Array<{uuid: string, data: !Array<number>}>|undefined)
* }}
*/
chrome.bluetoothLowEnergy.Advertisement;
/**
* @param {!chrome.bluetoothLowEnergy.Advertisement} advertisement
* @param {function(number)} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-registerAdvertisement
*/
chrome.bluetoothLowEnergy.registerAdvertisement =
function(advertisement, callback) {};
/**
* @param {number} advertisementId
* @param {function()} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-unregisterAdvertisement
*/
chrome.bluetoothLowEnergy.unregisterAdvertisement =
function(advertisementId, callback) {};
/**
* @param {number} minInterval
* @param {number} maxInterval
* @param {function()} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-setAdvertisingInterval
*/
chrome.bluetoothLowEnergy.setAdvertisingInterval = function(
minInterval, maxInterval, callback) {};
/**
* @typedef {?{
* requestId: number,
* isError: boolean,
* value: (!ArrayBuffer|undefined)
* }}
*/
chrome.bluetoothLowEnergy.RequestResponse;
/** @param {!chrome.bluetoothLowEnergy.RequestResponse} response */
chrome.bluetoothLowEnergy.sendRequestResponse = function(response) {};
/**
* Event whose listeners take a Service parameter.
* @constructor
......@@ -1790,7 +1945,7 @@ chrome.bluetoothLowEnergy.onCharacteristicValueChanged;
/**
* Event whose listeners take a Characteristic parameter.
* Event whose listeners take a Descriptor parameter.
* @constructor
*/
chrome.bluetoothLowEnergy.DescriptorEvent = function() {};
......@@ -1835,33 +1990,69 @@ chrome.bluetoothLowEnergy.onDescriptorValueChanged;
/**
* @typedef {?{
* type: string,
* serviceUuids: (!Array<string>|undefined),
* manufacturerData: (!Array<{id: number, data: !Array<number>}>|undefined),
* solicitUuids: (!Array<string>|undefined),
* serviceData: (!Array<{uuid: string, data: !Array<number>}>|undefined)
* }}
* Event whose listeners take a Request parameter.
* @constructor
*/
chrome.bluetoothLowEnergy.Advertisement;
chrome.bluetoothLowEnergy.RequestEvent = function() {};
/**
* @param {!chrome.bluetoothLowEnergy.Advertisement} advertisement
* @param {function(number)} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-registerAdvertisement
* @param {function(!chrome.bluetoothLowEnergy.Request, string): void}
* callback
* @return {undefined}
*/
chrome.bluetoothLowEnergy.registerAdvertisement =
function(advertisement, callback) {};
chrome.bluetoothLowEnergy.RequestEvent.prototype.addListener = function(
callback) {};
/**
* @param {number} advertisementId
* @param {function()} callback
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-unregisterAdvertisement
* @param {function(!chrome.bluetoothLowEnergy.Request, string): void}
* callback
* @return {undefined}
*/
chrome.bluetoothLowEnergy.unregisterAdvertisement =
function(advertisementId, callback) {};
chrome.bluetoothLowEnergy.RequestEvent.prototype.removeListener = function(
callback) {};
/**
* @param {function(!chrome.bluetoothLowEnergy.Request, string): void}
* callback
* @return {boolean}
*/
chrome.bluetoothLowEnergy.RequestEvent.prototype.hasListener = function(
callback) {};
/** @return {boolean} */
chrome.bluetoothLowEnergy.RequestEvent.prototype.hasListeners = function() {};
/**
* @type {!chrome.bluetoothLowEnergy.RequestEvent}
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#event-onCharacteristicReadRequest
*/
chrome.bluetoothLowEnergy.onCharacteristicReadRequest;
/**
* @type {!chrome.bluetoothLowEnergy.RequestEvent}
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#event-onCharacteristicWriteRequest
*/
chrome.bluetoothLowEnergy.onCharacteristicWriteRequest;
/**
* @type {!chrome.bluetoothLowEnergy.RequestEvent}
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#event-onDescriptorReadRequest
*/
chrome.bluetoothLowEnergy.onDescriptorReadRequest;
/**
* @type {!chrome.bluetoothLowEnergy.RequestEvent}
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#event-onDescriptorWriteRequest
*/
chrome.bluetoothLowEnergy.onDescriptorWriteRequest;
/**
......@@ -6960,11 +7151,11 @@ CookieStore.prototype.tabIds;
function OnClickData() {}
/** @type {number} */
/** @type {number|string} */
OnClickData.prototype.menuItemId;
/** @type {number} */
/** @type {number|string} */
OnClickData.prototype.parentMenuItemId;
......@@ -6988,14 +7179,26 @@ OnClickData.prototype.pageUrl;
OnClickData.prototype.frameUrl;
/** @type {number} */
OnClickData.prototype.frameId;
/** @type {string} */
OnClickData.prototype.selectionText;
/** @type {string} */
/** @type {boolean} */
OnClickData.prototype.editable;
/** @type {boolean} */
OnClickData.prototype.wasChecked;
/** @type {boolean} */
OnClickData.prototype.checked;
/**
* @see https://developer.chrome.com/extensions/debugger.html#type-Debuggee
......
......@@ -490,7 +490,19 @@ PolymerElement.prototype.linkPaths = function(to, from) {}
*/
PolymerElement.prototype.unlinkPaths = function(path) {}
Polymer.Base;
/**
* Copies own properties (including accessor descriptors) from a source
* object to a target object.
*
* @param {?Object} target Target object to copy properties to.
* @param {?Object} source Source object to copy properties from.
* @return {?Object} Target object that was passed as first argument or source
* object if the target was null.
*/
PolymerElement.prototype.extend = function(target, source) {};
/** @const */
Polymer.Base = {};
/**
* Used by the promise-polyfill on its own.
......@@ -501,6 +513,13 @@ Polymer.Base;
*/
Polymer.Base.async = function(method, wait) {};
/**
* @param {string} tag
* @param {!Object=} props
* @return {!Element}
*/
Polymer.Base.create = function(tag, props) {};
/**
* Copies own properties (including accessor descriptors) from a source
* object to a target object.
......@@ -524,6 +543,15 @@ Polymer.Base.extend = function(target, source) {};
*/
Polymer.Base.getPropertyInfo = function(property) {};
/**
* Dynamically imports an HTML document.
* @param {string} href
* @param {Function=} onload
* @param {Function=} onerror
* @param {boolean=} async
*/
Polymer.Base.importHref = function(href, onload, onerror, async) {};
/**
* Copies props from a source object to a target object.
*
......@@ -537,7 +565,52 @@ Polymer.Base.getPropertyInfo = function(property) {};
*/
Polymer.Base.mixin = function(target, source) {};
Polymer.Gestures;
/**
* @param {string|!Array<string|number>} path
* @param {!Object=} root
* @return {*}
*/
Polymer.Base.get = function(path, root) {};
/**
* @param {string} type
* @param {*=} detail
* @param {!Object=} options
* @return {!CustomEvent}
*/
Polymer.Base.fire = function(type, detail, options) {};
/**
* @param {...*} var_args
* For Polymer-internal use only.
*/
Polymer.Base._warn = function(var_args) {};
/**
* @param {...*} var_args
* For Polymer-internal use only.
*/
Polymer.Base._error = function(var_args) {};
/** @const */
Polymer.Gestures = {};
/**
* @param {!Node} node
* @param {string} evType
* @param {?Function} handler
* @return {boolean}
* @deprecated Use addListener.
*/
Polymer.Gestures.add = function(node, evType, handler) {};
/**
* @param {!Node} node
* @param {string} evType
* @param {?Function} handler
* @return {boolean}
*/
Polymer.Gestures.addListener = function(node, evType, handler) {};
/**
* Gets the original target of the given event.
......@@ -623,8 +696,9 @@ PolymerElement.prototype.translate3d = function(x, y, z, node) {};
* @param {string} href
* @param {Function=} onload
* @param {Function=} onerror
* @param {boolean=} async
*/
PolymerElement.prototype.importHref = function(href, onload, onerror) {};
PolymerElement.prototype.importHref = function(href, onload, onerror, async) {};
/**
* Checks whether an element is in this element's light DOM tree.
......@@ -945,7 +1019,8 @@ PolymerEventApi.prototype.path;
PolymerEventApi.prototype.event;
Polymer.Async;
/** @const */
Polymer.Async = {};
/**
* @param {function()} callback
......@@ -1004,7 +1079,8 @@ Polymer.dom.addDebouncer = function(debouncer) {};
Polymer.isInstance = function(object) {};
Polymer.CaseMap;
/** @const */
Polymer.CaseMap = {};
/**
* Convert a string from dash to camel-case.
......@@ -1091,8 +1167,12 @@ Polymer.Collection.applySplices = function(userArray, splices) {};
/**
* Settings pulled from
* https://github.com/Polymer/polymer/blob/master/src/lib/settings.html
* @const
*/
Polymer.Settings;
Polymer.Settings = {};
/** @type {string} */
Polymer.Settings.dom;
/** @type {boolean} */
Polymer.Settings.wantShadow;
......@@ -1415,7 +1495,8 @@ Polymer.ResolveUrl.resolveAttrs = function(element, ownerDocument) {}
*/
Polymer.ResolveUrl.resolveUrl = function(url, baseURI) {}
Polymer.RenderStatus;
/** @const */
Polymer.RenderStatus = {};
/**
* Makes callback when first render occurs or immediately if render has occured.
......@@ -1435,7 +1516,7 @@ Polymer.RenderStatus.afterNextRender = function(element, fn, args) {}
/**
* Static analysis for Polymer.
* @type {!Object}
* @const
*/
var hydrolysis = {};
......@@ -1461,9 +1542,9 @@ hydrolysis.Analyzer.analyze = function(href, opt_options) {};
/**
* Contains information useful for debugging. Should not be used in production
* code and the API may change on short notice.
* @type {!Object}
* @const
*/
Polymer.telemetry;
Polymer.telemetry = {};
/**
* Number of elements instantiated so far.
......@@ -1478,7 +1559,8 @@ Polymer.telemetry.instanceCount;
*/
Polymer.telemetry.registrations;
Polymer.AppLayout;
/** @const */
Polymer.AppLayout = {};
/** @constructor */
Polymer.AppLayout.LocalDomWithBackground = function(){};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment