summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/chromeos/drive_internals.html
blob: fe4c9f24be606e39e404e82610f859004735fd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!doctype html>
<html>
  <head>
    <title>drive-internals</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
    <link rel="stylesheet" href="drive_internals.css">
    <script src="chrome://resources/js/util.js"></script>
    <script src="chrome://drive-internals/drive_internals.js"></script>
  </head>
  <body>
    <h1>Drive Internals</h1>
    <ul id="toc"></ul>

    <h2 id="connection-status-section">Connection Status</h2>
    <ul>
      <li>
        Status: <span id="connection-status"></span>
      </li>
      <li>
        Has refresh token: <span id="has-refresh-token"></span>
        <button id="button-clear-refresh-token">clear</button>
      </li>
      <li>
        Has access token: <span id="has-access-token"></span>
        <button id="button-clear-access-token">clear</button>
      </li>
    </ul>

    <h2 id="account-information-section">Account Information</h2>
    <ul>
      <li>Remote Changestamp:
        <span id="account-largest-changestamp-remote"></span>
      </li>
      <li>Quota Information: <span id="account-quota-info"></span></li>
      <li>Root Resource Id: <span id="root-resource-id"></span></li>
    </ul>

    <h2 id="local-metadata-section">Local Metadata</h2>
    <div>
      <button id="button-reset-drive-filesystem">
        Clear local data
      </button>
      <span id="reset-status-text"></span>
    </div>
    <ul>
      <li>Local Changestamp:
        <span id="account-largest-changestamp-local"></span>
      </li>
      <li>Local Free Space:
        <span id="local-storage-freespace"></span> MB
      </li>
    </ul>

    <h2 id="delta-update-status-section">Delta Update Status</h2>
    <ul>
      <li>Push notification is enabled:
        <span id="push-notification-enabled"></span></li>
      <li>Last update check time:
        <span id="last-update-check-time"></span></li>
      <li>Last update check result:
        <span id="last-update-check-error"></span></li>
    </ul>

    <h2 id="in-flight-operations-section">In-flight Operations</h2>
    <table>
      <tbody id="in-flight-operations-contents">
        <tr>
          <th>ID</th>
          <th>Type</th>
          <th>File Path</th>
          <th>State</th>
          <th>Progress</th>
        </tr>
      </tbody>
    </table>

    <h2 id="file-system-contents-section">File System Contents</h2>
    <button id="button-show-file-entries">Show</button>
    <div id="file-system-contents"></div>

    <h2 id="path-configurations-section">Path Configurations</h2>
    <ul id="path-configurations">
    </ul>

    <h2 id="gcache-contents-section">GCache Contents</h2>
    <table>
      <tbody id="gcache-contents">
        <tr>
          <th>Path</th>
          <th>Size</th>
          <th>Last Modified</th>
          <th>Permission</th>
        </tr>
      </tbody>
    </table>

    <ul>
      <li>
        Total Size:
        <span id="gcache-summary-total-size">(calculating...)</span> MB.
      </li>
    </ul>

    <h2 id="cache-contents-section">Cache Contents</h2>
    <table>
      <tbody id="cache-contents">
        <tr>
          <th>Local ID</th>
          <th>MD5</th>
          <th>Present</th>
          <th>Pinned</th>
          <th>Dirty</th>
        </tr>
      </tbody>
    </table>

    <h2 id="drive-related-preferences-section">Drive related Preferences</h2>
    <ul id="drive-related-preferences">
    </ul>

    <h2 id="app-list-section">Application List</h2>
    <ul>
      <li>ETag: <span id="app-list-etag"></span></li>
    </ul>
    <table>
      <tbody id="app-list-items">
        <tr>
          <th>App Name</th>
          <th>App ID</th>
          <th>Object Type</th>
          <th>Support Create</th>
        </tr>
      </tbody>
    </table>

    <h2 id="event-log-section">Event Log</h2>
    <ul id="event-log">
    </ul>
  </body>
</html>