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-reset-drive-filesystem">
     41         Clear local data
     42       </button>
     43       <span id="reset-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="path-configurations-section">Path Configurations</h2>
     82     <ul id="path-configurations">
     83     </ul>
     84 
     85     <h2 id="gcache-contents-section">GCache Contents</h2>
     86     <table>
     87       <tbody id="gcache-contents">
     88         <tr>
     89           <th>Path</th>
     90           <th>Size</th>
     91           <th>Last Modified</th>
     92           <th>Permission</th>
     93         </tr>
     94       </tbody>
     95     </table>
     96 
     97     <ul>
     98       <li>
     99         Total Size:
    100         <span id="gcache-summary-total-size">(calculating...)</span> MB.
    101       </li>
    102     </ul>
    103 
    104     <h2 id="cache-contents-section">Cache Contents</h2>
    105     <table>
    106       <tbody id="cache-contents">
    107         <tr>
    108           <th>Local ID</th>
    109           <th>MD5</th>
    110           <th>Present</th>
    111           <th>Pinned</th>
    112           <th>Dirty</th>
    113         </tr>
    114       </tbody>
    115     </table>
    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