| Index: chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js
|
| diff --git a/chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js b/chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js
|
| index 45d87ae604833a59d4bd6db6c9261671d4350ccf..068cdceb95ce6fb7564faf7b0d6d324e87cd60cc 100644
|
| --- a/chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js
|
| +++ b/chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js
|
| @@ -124,6 +124,18 @@ cr.define('offlineInternals', function() {
|
| * @return {!Promise} A promise firing when the task has been cancelled.
|
| */
|
| cancelNwake: function() {},
|
| +
|
| + /**
|
| + * Sends a request to generate page bundle.
|
| + * @return {!Promise} A promise firing when the request is sent.
|
| + */
|
| + generatePageBundle: function() {},
|
| +
|
| + /**
|
| + * Sends a request to get operation.
|
| + * @return {!Promise} A promise firing when the request is sent.
|
| + */
|
| + getOperation: function() {},
|
| };
|
|
|
| /**
|
| @@ -193,6 +205,16 @@ cr.define('offlineInternals', function() {
|
| cancelNwake: function() {
|
| return cr.sendWithPromise('cancelNwake');
|
| },
|
| +
|
| + /** @override */
|
| + generatePageBundle: function(data) {
|
| + return cr.sendWithPromise('generatePageBundle', data);
|
| + },
|
| +
|
| + /** @override */
|
| + getOperation: function(data) {
|
| + return cr.sendWithPromise('getOperation', data);
|
| + },
|
| };
|
|
|
| return {
|
|
|