| 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 1316c9d696e60038a6ebfead8ea6c38dbd9fb44c..4cb46a6140a3139a8e60c6aeaa6d6c0dc23885f8 100644
|
| --- a/chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js
|
| +++ b/chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js
|
| @@ -71,6 +71,20 @@ cr.define('offlineInternals', function() {
|
| deleteSelectedPages: function(ids) {},
|
|
|
| /**
|
| + * Deletes all the requests from the request queue.
|
| + * @return {!Promise<!string>} A promise firing when the pages are deleted.
|
| + */
|
| + deleteAllRequests: function() {},
|
| +
|
| + /**
|
| + * Deletes a set of requests from the request queue
|
| + * @param {!Array<string>} ids A list of request IDs to delete.
|
| + * @return {!Promise<!string>} A promise firing when the selected
|
| + * pages are deleted.
|
| + */
|
| + deleteSelectedRequests: function(ids) {},
|
| +
|
| + /**
|
| * Sets whether to record logs for stored pages.
|
| * @param {boolean} shouldLog True if logging should be enabled.
|
| */
|
| @@ -141,6 +155,16 @@ cr.define('offlineInternals', function() {
|
| },
|
|
|
| /** @override */
|
| + deleteAllRequests: function() {
|
| + return cr.sendWithPromise('deleteAllRequests');
|
| + },
|
| +
|
| + /** @override */
|
| + deleteSelectedRequests: function(ids) {
|
| + return cr.sendWithPromise('deleteSelectedRequests', ids);
|
| + },
|
| +
|
| + /** @override */
|
| setRecordPageModel: function(shouldLog) {
|
| chrome.send('setRecordPageModel', [shouldLog]);
|
| },
|
|
|