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='authentication-status-section'>Authentication Status</h2>
     15     <ul>
     16       <li>
     17         Has refresh token: <span id='has-refresh-token'></span>
     18         <button id='button-clear-refresh-token'>clear</button>
     19       </li>
     20       <li>
     21         Has access token: <span id='has-access-token'></span>
     22         <button id='button-clear-access-token'>clear</button>
     23       </li>
     24     </ul>
     25 
     26     <h2 id='account-information-section'>Account Information</h2>
     27     <ul>
     28       <li>Remote Changestamp:
     29         <span id='account-largest-changestamp-remote'></span>
     30       </li>
     31       <li>Quota Information: <span id='account-quota-info'></span></li>
     32       <li>Root Resource Id: <span id='root-resource-id'></span></li>
     33     </ul>
     34 
     35     <h2 id='local-metadata-section'>Local Metadata</h2>
     36     <ul>
     37       <li>Local Changestamp:
     38         <span id='account-largest-changestamp-local'></span>
     39       </li>
     40       <li>Local Free Space:
     41         <span id='local-storage-freespace'></span> MB
     42       </li>
     43     </ul>
     44 
     45     <h2 id='delta-update-status-section'>Delta Update Status</h2>
     46     <ul>
     47       <li>Push notification is enabled:
     48         <span id='push-notification-enabled'></span></li>
     49       <li>Last update check time:
     50         <span id='last-update-check-time'></span></li>
     51       <li>Last update check result:
     52         <span id='last-update-check-error'></span></li>
     53     </ul>
     54 
     55     <h2 id='in-flight-operations-section'>In-flight Operations</h2>
     56     <table>
     57       <tbody id='in-flight-operations-contents'>
     58         <tr>
     59           <th>ID</th>
     60           <th>Type</th>
     61           <th>File Path</th>
     62           <th>State</th>
     63           <th>Progress</th>
     64         </tr>
     65       </tbody>
     66     </table>
     67 
     68     <h2 id='file-system-contents-section'>File System Contents</h2>
     69     <button id='button-show-file-entries'>Show</button>
     70     <div id='file-system-contents'></div>
     71 
     72     <h2 id='gcache-contents-section'>GCache Contents</h2>
     73     <table>
     74       <tbody id='gcache-contents'>
     75         <tr>
     76           <th>Path</th>
     77           <th>Size</th>
     78           <th>Last Modified</th>
     79           <th>Permission</th>
     80         </tr>
     81       </tbody>
     82     </table>
     83 
     84     <ul>
     85       <li>
     86         Total Size:
     87         <span id='gcache-summary-total-size'>(calculating...)</span> MB.
     88       </li>
     89     </ul>
     90 
     91     <h2 id='cache-contents-section'>Cache Contents</h2>
     92     <table>
     93       <tbody id='cache-contents'>
     94         <tr>
     95           <th>Resource ID</th>
     96           <th>MD5</th>
     97           <th>Present</th>
     98           <th>Pinned</th>
     99           <th>Dirty</th>
    100         </tr>
    101       </tbody>
    102     </table>
    103 
    104     <h2 id='drive-related-flags-section'>Drive related Flags</h2>
    105     <ul id='drive-related-flags'>
    106     </ul>
    107 
    108     <h2 id='drive-related-preferences-section'>Drive related Preferences</h2>
    109     <ul id='drive-related-preferences'>
    110     </ul>
    111 
    112     <h2 id='app-list-section'>Application List</h2>
    113     <ul>
    114       <li>ETag: <span id='app-list-etag'></span></li>
    115     </ul>
    116     <table>
    117       <tbody id='app-list-items'>
    118         <tr>
    119           <th>App Name</th>
    120           <th>App ID</th>
    121           <th>Object Type</th>
    122           <th>Support Create</th>
    123         </tr>
    124       </tbody>
    125     </table>
    126 
    127     <h2 id='event-log-section'>Event Log</h2>
    128     <ul id='event-log'>
    129     </ul>
    130   </body>
    131 </html>
    132