Commit b14dd880 authored by Dan Beam's avatar Dan Beam

Bumping closure compiler:

chrome_extensions.js: be4926041286f314d648ab5f3fcce5721693e602 -> ca37fefd29fef41fa481685c4b3398ba6ad10b8d

Also manually added networkingPrivate.onDeviceStateListChanged while it
makes its way to the github externs (to fix compile).

TBR=
BUG=

Review URL: https://codereview.chromium.org/1134693004

Cr-Commit-Position: refs/heads/master@{#329767}
parent a42db114
...@@ -189,6 +189,18 @@ ...@@ -189,6 +189,18 @@
*/ */
/*
* Ensure projects don't execute this file.
* The throw is to catch executions of this file, however, without the guard,
* the compiler's flow analysis stops at the throw, even for an externs file.
* Therefore, the Math.random() guard fools the compiler during externs
* processing.
*/
if (Math.random() < 1) { // always true but the compiler doesn't know that
throw 'Externs file "chrome_extensions.js" should not be executed';
}
/** /**
* @see https://developer.chrome.com/extensions/accessibilityFeatures * @see https://developer.chrome.com/extensions/accessibilityFeatures
* @const * @const
...@@ -2084,6 +2096,11 @@ chrome.runtime.id; ...@@ -2084,6 +2096,11 @@ chrome.runtime.id;
chrome.runtime.getBackgroundPage = function(callback) {}; chrome.runtime.getBackgroundPage = function(callback) {};
/**
* @param {function(): void=} opt_callback Callback function.
*/
chrome.runtime.openOptionsPage = function(opt_callback) {};
/** /**
* Manifest information returned from chrome.runtime.getManifest. See * Manifest information returned from chrome.runtime.getManifest. See
...@@ -8949,6 +8966,10 @@ chrome.networkingPrivate.onNetworksChanged; ...@@ -8949,6 +8966,10 @@ chrome.networkingPrivate.onNetworksChanged;
chrome.networkingPrivate.onNetworkListChanged; chrome.networkingPrivate.onNetworkListChanged;
/** @type {!ChromeStringArrayEvent} */
chrome.networkingPrivate.onDeviceStateListChanged;
/** @type {!ChromeStringStringEvent} */ /** @type {!ChromeStringStringEvent} */
chrome.networkingPrivate.onPortalDetectionCompleted; chrome.networkingPrivate.onPortalDetectionCompleted;
......
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