| Index: chrome/browser/resources/offline_pages/offline_internals.js
 | 
| diff --git a/chrome/browser/resources/offline_pages/offline_internals.js b/chrome/browser/resources/offline_pages/offline_internals.js
 | 
| index c2e16169493dfedb7aa90893fd46924b105eb3fe..8bd6e698fda070dacb6ad9c7adb65d6ebd9e3aff 100644
 | 
| --- a/chrome/browser/resources/offline_pages/offline_internals.js
 | 
| +++ b/chrome/browser/resources/offline_pages/offline_internals.js
 | 
| @@ -169,6 +169,14 @@ cr.define('offlineInternals', function() {
 | 
|      browserProxy.getRequestQueue().then(fillRequestQueue);
 | 
|    }
 | 
|  
 | 
| +   /**
 | 
| +   * Callback for prefetch actins.
 | 
| +   * @param {!IsLogging} logStatus Status of logging.
 | 
| +   */
 | 
| +  function setPrefetchResult(info) {
 | 
| +    $('prefetch-actions-info').textContent = info;
 | 
| +  }
 | 
| +
 | 
|    /**
 | 
|     * Downloads all the stored page and request queue information into a file.
 | 
|     * TODO(chili): Create a CSV writer that can abstract out the line joining.
 | 
| @@ -293,10 +301,18 @@ cr.define('offlineInternals', function() {
 | 
|        }
 | 
|      };
 | 
|      $('schedule-nwake').onclick = function() {
 | 
| -      browserProxy.scheduleNwake();
 | 
| +      browserProxy.scheduleNwake().then(setPrefetchResult);
 | 
|      };
 | 
|      $('cancel-nwake').onclick = function() {
 | 
| -      browserProxy.cancelNwake();
 | 
| +      browserProxy.cancelNwake().then(setPrefetchResult);
 | 
| +    };
 | 
| +    $('generate-page-bundle').onclick = function() {
 | 
| +      browserProxy.generatePageBundle($('request-data').value).
 | 
| +          then(setPrefetchResult);
 | 
| +    };
 | 
| +    $('get-operation').onclick = function() {
 | 
| +      browserProxy.getOperation($('request-data').value).
 | 
| +          then(setPrefetchResult);
 | 
|      };
 | 
|      if (!incognito)
 | 
|        refreshAll();
 | 
| 
 |