Home | History | Annotate | Download | only in chromeos
      1 <!DOCTYPE HTML>
      2 <html>
      3   <head>
      4     <title>drive-internals</title>
      5     <meta charset="utf-8">
      6     <link rel="stylesheet" href="drive_internals.css">
      7     <script src="chrome://resources/js/util.js"></script>
      8     <script src="chrome://drive-internals/drive_internals.js"></script>
      9   </head>
     10   <body>
     11     <h1>Drive Internals</h1>
     12     <ul id='toc'></ul>
     13 
     14     <h2 id='connection-status-section'>Connection Status</h2>
     15     <ul>
     16       <li>
     17         Status: <span id='connection-status'></span>
     18       </li>
     19       <li>
     20         Has refresh token: <span id='has-refresh-token'></span>
     21         <button id='button-clear-refresh-token'>clear</button>
     22       </li>
     23       <li>
     24         Has access token: <span id='has-access-token'></span>
     25         <button id='button-clear-access-token'>clear</button>
     26       </li>
     27     </ul>
     28 
     29     <h2 id='account-information-section'>Account Information</h2>
     30     <ul>
     31       <li>Remote Changestamp:
     32         <span id='account-largest-changestamp-remote'></span>
     33       </li>
     34       <li>Quota Information: <span id='account-quota-info'></span></li>
     35       <li>Root Resource Id: <span id='root-resource-id'></span></li>
     36     </ul>
     37 
     38     <h2 id='local-metadata-section'>Local Metadata</h2>
     39     <div>
     40       <button id='button-reload-drive-filesystem'>
     41         Clear local data and reload
     42       </button>
     43       <span id='reload-status-text'></span>
     44     </div>
     45     <ul>
     46       <li>Local Changestamp:
     47         <span id='account-largest-changestamp-local'></span>
     48       </li>
     49       <li>Local Free Space:
     50         <span id='local-storage-freespace'></span> MB
     51       </li>
     52     </ul>
     53 
     54     <h2 id='delta-update-status-section'>Delta Update Status</h2>
     55     <ul>
     56       <li>Push notification is enabled:
     57         <span id='push-notification-enabled'></span></li>
     58       <li>Last update check time:
     59         <span id='last-update-check-time'></span></li>
     60       <li>Last update check result:
     61         <span id='last-update-check-error'></span></li>
     62     </ul>
     63 
     64     <h2 id='in-flight-operations-section'>In-flight Operations</h2>
     65     <table>
     66       <tbody id='in-flight-operations-contents'>
     67         <tr>
     68           <th>ID</th>
     69           <th>Type</th>
     70           <th>File Path</th>
     71           <th>State</th>
     72           <th>Progress</th>
     73         </tr>
     74       </tbody>
     75     </table>
     76 
     77     <h2 id='file-system-contents-section'>File System Contents</h2>
     78     <button id='button-show-file-entries'>Show</button>
     79     <div id='file-system-contents'></div>
     80 
     81     <h2 id='gcache-contents-section'>GCache Contents</h2>
     82     <table>
     83       <tbody id='gcache-contents'>
     84         <tr>
     85           <th>Path</th>
     86           <th>Size</th>
     87           <th>Last Modified</th>
     88           <th>Permission</th>
     89         </tr>
     90       </tbody>
     91     </table>
     92 
     93     <ul>
     94       <li>
     95         Total Size:
     96         <span id='gcache-summary-total-size'>(calculating...)</span> MB.
     97       </li>
     98     </ul>
     99 
    100     <h2 id='cache-contents-section'>Cache Contents</h2>
    101     <table>
    102       <tbody id='cache-contents'>
    103         <tr>
    104           <th>Local ID</th>
    105           <th>MD5</th>
    106           <th>Present</th>
    107           <th>Pinned</th>
    108           <th>Dirty</th>
    109         </tr>
    110       </tbody>
    111     </table>
    112 
    113     <h2 id='drive-related-flags-section'>Drive related Flags</h2>
    114     <ul id='drive-related-flags'>
    115     </ul>
    116 
    117     <h2 id='drive-related-preferences-section'>Drive related Preferences</h2>
    118     <ul id='drive-related-preferences'>
    119     </ul>
    120 
    121     <h2 id='app-list-section'>Application List</h2>
    122     <ul>
    123       <li>ETag: <span id='app-list-etag'></span></li>
    124     </ul>
    125     <table>
    126       <tbody id='app-list-items'>
    127         <tr>
    128           <th>App Name</th>
    129           <th>App ID</th>
    130           <th>Object Type</th>
    131           <th>Support Create</th>
    132         </tr>
    133       </tbody>
    134     </table>
    135 
    136     <h2 id='event-log-section'>Event Log</h2>
    137     <ul id='event-log'>
    138     </ul>
    139   </body>
    140 </html>
    141