File: drive_internals.html

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (310 lines) | stat: -rw-r--r-- 8,679 bytes parent folder | download | duplicates (5)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<!doctype html>
<html lang="en">
  <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_deprecated.js"></script>
    <script src="chrome://drive-internals/drive_internals.js"></script>
  </head>
  <body>
    <h1>Drive Internals</h1>
    <ul id="toc"></ul>

    <section id="connection-status-section" hidden>
      <h2>Connection Status</h2>
      <ul>
        <li>
          Status: <span id="connection-status"></span>
        </li>
      </ul>
    </section>

    <section id="drive-debug" hidden>
      <h2>Drive Debug</h2>
      <div>
        <label>
          Bulk pinning UI may be visible
          <input type="checkbox" id="bulk-pinning-visible">
        </label>
      </div>
      <div>
        <label>
          Verbose logging
          <input type="checkbox" id="verbose-logging-toggle">
        </label>
      </div>
      <div>
        Tracing
        <button id="button-enable-tracing">Enable</button>
        <button id="button-disable-tracing">Disable</button>
      </div>
      <div id="developer-mode-controls" hidden>
        <div>
          <div>Startup Arguments</div>
          <form id="startup-arguments-form">
            <input id="startup-arguments-input">
            <button type="submit">Apply</button>
            <span id="arguments-status-text"></span>
          </form>

          <div>Networking</div>
          <div>
            <button id="button-enable-networking">Enable</button>
            <button id="button-disable-networking">Disable</button>
          </div>

          <div>Force pause syncing</div>
          <div>
            <button id="button-enable-force-pause-syncing">Enable</button>
            <button id="button-disable-force-pause-syncing">Disable</button>
          </div>

          <div>Account settings</div>
          <div>
            <button id="button-dump-account-settings">Dump</button>
            <button id="button-load-account-settings">Load</button>
          </div>
        </div>
      </div>
      <div>
        <button id="button-restart-drive">Restart Drive</button>
        <button id="button-reset-drive-filesystem">
          Clear local data
        </button>
        <span id="reset-status-text"></span>
      </div>
      <ul>
        <li>Local Free Space:
          <span id="local-storage-freespace"></span> MB
        </li>
      </ul>
    </section>

    <section id="account-information-section" hidden>
      <h2>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>
    </section>

    <section id="mirror-sync-section" hidden>
      <h2>MirrorSync</h2>
      <label>
        Enable Mirroring
        <input type="checkbox" id="mirroring-toggle">
      </label>
      <form id="mirror-path-form" hidden>
        <input type="text" id="mirror-path-input">
        <button type="submit">Add Sync Path</button>
        <span id="mirroring-path-status"></span>
      </form>
      <table>
        <tbody id="mirror-sync-paths" hidden>
        </tbody>
      </table>
    </section>

    <section id="bulk-pinning-section" hidden>
      <h2>Bulk Pinning</h2>
      <table>
        <tr>
          <th>
            <label for="bulk-pinning-toggle">Enable</label>
          </th>
          <td>
            <input type="checkbox" id="bulk-pinning-toggle">
          </td>
        <tr>
          <th>Stage</th>
          <td id="bulk-pinning-stage">?</td>
        </tr>
        <tr>
          <th>Free Space</th>
          <td id="bulk-pinning-free-space">?</td>
        </tr>
        <tr>
          <th>Required Space</th>
          <td id="bulk-pinning-required-space">?</td>
        </tr>
        <tr>
          <th>Bytes To Pin</th>
          <td id="bulk-pinning-bytes-to-pin">?</td>
        </tr>
        <tr>
          <th>Pinned Bytes</th>
          <td id="bulk-pinning-pinned-bytes">?</td>
        </tr>
        <tr>
          <th>Pinned Bytes %</th>
          <td id="bulk-pinning-pinned-bytes-percent">?</td>
        </tr>
        <tr>
          <th>Active Queries</th>
          <td id="bulk-pinning-active-queries">?</td>
        </tr>
        <tr>
          <th>Max Active Queries</th>
          <td id="bulk-pinning-max-active-queries">?</td>
        </tr>
        <tr>
          <th>Listed Items</th>
          <td id="bulk-pinning-listed-items">?</td>
        </tr>
        <tr>
          <th>Listed Dirs</th>
          <td id="bulk-pinning-listed-dirs">?</td>
        </tr>
        <tr>
          <th>Listed Files</th>
          <td id="bulk-pinning-listed-files">?</td>
        </tr>
        <tr>
          <th>Listed Docs</th>
          <td id="bulk-pinning-listed-docs">?</td>
        </tr>
        <tr>
          <th>Listed Shortcuts</th>
          <td id="bulk-pinning-listed-shortcuts">?</td>
        </tr>
        <tr>
          <th>Skipped Items</th>
          <td id="bulk-pinning-skipped-items">?</td>
        </tr>
        <tr>
          <th>Files To Pin</th>
          <td id="bulk-pinning-files-to-pin">?</td>
        </tr>
        <tr>
          <th>Pinned Files</th>
          <td id="bulk-pinning-pinned-files">?</td>
        </tr>
        <tr>
          <th>Pinned Files %</th>
          <td id="bulk-pinning-pinned-files-percent">?</td>
        </tr>
        <tr>
          <th>Failed Files</th>
          <td id="bulk-pinning-failed-files">?</td>
        </tr>
        <tr>
          <th>Pinning Files</th>
          <td id="bulk-pinning-syncing-files">?</td>
        </tr>
        <tr>
          <th>Time Spent Listing</th>
          <td id="bulk-pinning-time-spent-listing-items">?</td>
        </tr>
        <tr>
          <th>Time Spent Pinning</th>
          <td id="bulk-pinning-time-spent-pinning-files">?</td>
        </tr>
        <tr>
          <th>Remaining Time</th>
          <td id="bulk-pinning-remaining-time">?</td>
        </tr>
      </table>
    </section>

    <section id="delta-update-status-section" hidden>
      <h2>Delta Update Status</h2>
      <table>
        <tbody id="delta-update-status">
          <tr>
            <th>Source</th>
            <th>Virtual Path</th>
            <th>Start Page Token</th>
            <th>Last Update Check Time</th>
            <th>Last Update Check Result</th>
            <th>Refreshing</th>
          </tr>
        </tbody>
      </table>
    </section>

    <section id="in-flight-operations-section" hidden>
      <h2>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>
    </section>

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

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

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

    <section id="service-log-section" hidden>
      <h2>Service Log</h2>
      <button id="button-export-logs">Export logs</button>
      <ul>
        <li><a id="other-logs">Other Logs</a>
      </ul>
      <ul id="service-log">
      </ul>
    </section>

    <section id="cache-contents-section" hidden>
      <h2>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>
    </section>

    <section id="gcache-contents-section" hidden>
      <details>
        <summary><h2>GCache Contents</h2></summary>
        <table>
          <tbody id="gcache-contents">
            <tr>
              <th>Path</th>
              <th>Size</th>
              <th>Last Modified</th>
              <th>Permission</th>
            </tr>
          </tbody>
        </table>
      </details>
      <ul>
        <li>
          Total Size:
          <span id="gcache-summary-total-size">(calculating...)</span> MB.
        </li>
      </ul>
    </section>
  </body>
</html>