Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: third_party/chrome/idl/browsing_data.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "browsingData",
8 "types": [
9 {
10 "id": "RemovalOptions",
11 "type": "object",
12 "description": "Options that determine exactly what data will be removed .",
13 "properties": {
14 "since": {
15 "type": "number",
16 "optional": true,
17 "description": "Remove data accumulated on or after this date, repre sented in milliseconds since the epoch (accessible via the <code>getTime</code> method of the JavaScript <code>Date</code> object). If absent, defaults to 0 (wh ich would remove all browsing data)."
18 },
19 "originTypes": {
20 "type": "object",
21 "optional": true,
22 "description": "An object whose properties specify which origin type s ought to be cleared. If this object isn't specified, it defaults to clearing o nly \"unprotected\" origins. Please ensure that you <em>really</em> want to remo ve application data before adding 'protectedWeb' or 'extensions'.",
23 "properties": {
24 "unprotectedWeb": {
25 "type": "boolean",
26 "optional": true,
27 "description": "Normal websites."
28 },
29 "protectedWeb": {
30 "type": "boolean",
31 "optional": true,
32 "description": "Websites that have been installed as hosted appl ications (be careful!)."
33 },
34 "extension": {
35 "type": "boolean",
36 "optional": true,
37 "description": "Extensions and packaged applications a user has installed (be _really_ careful!)."
38 }
39 }
40 }
41 }
42 }
43 ],
44 "functions": [
45 {
46 "name": "remove",
47 "description": "Clears various types of browsing data stored in a user's profile.",
48 "type": "function",
49 "parameters": [
50 {
51 "$ref": "RemovalOptions",
52 "name": "options"
53 },
54 {
55 "name": "dataToRemove",
56 "type": "object",
57 "description": "An object whose properties specify which browsing da ta types ought to be cleared. You may set as many or as few as you like in a sin gle call, each is optional (defaulting to <code>false</code>).",
58 "properties": {
59 "appcache": {
60 "type": "boolean",
61 "optional": true,
62 "description": "Should websites' appcaches be cleared?"
63 },
64 "cache": {
65 "type": "boolean",
66 "optional": true,
67 "description": "Should the browser's cache be cleared? Note: thi s clears the <em>entire</em> cache: it is not limited to the range you specify."
68 },
69 "cookies": {
70 "type": "boolean",
71 "optional": true,
72 "description": "Should the browser's cookies be cleared?"
73 },
74 "downloads": {
75 "type": "boolean",
76 "optional": true,
77 "description": "Should the browser's download list be cleared?"
78 },
79 "fileSystems": {
80 "type": "boolean",
81 "optional": true,
82 "description": "Should websites' file systems be cleared?"
83 },
84 "formData": {
85 "type": "boolean",
86 "optional": true,
87 "description": "Should the browser's stored form data be cleared ?"
88 },
89 "history": {
90 "type": "boolean",
91 "optional": true,
92 "description": "Should the browser's history be cleared?"
93 },
94 "indexedDB": {
95 "type": "boolean",
96 "optional": true,
97 "description": "Should websites' IndexedDB data be cleared?"
98 },
99 "localStorage": {
100 "type": "boolean",
101 "optional": true,
102 "description": "Should websites' local storage data be cleared?"
103 },
104 "serverBoundCertificates": {
105 "type": "boolean",
106 "optional": true,
107 "description": "Should server-bound certificates be removed?"
108 },
109 "pluginData": {
110 "type": "boolean",
111 "optional": true,
112 "description": "Should plugins' data be cleared?"
113 },
114 "passwords": {
115 "type": "boolean",
116 "optional": true,
117 "description": "Should the stored passwords be cleared?"
118 },
119 "webSQL": {
120 "type": "boolean",
121 "optional": true,
122 "description": "Should websites' WebSQL data be cleared?"
123 }
124 }
125 },
126 {
127 "name": "callback",
128 "type": "function",
129 "description": "Called when deletion has completed.",
130 "optional": true,
131 "parameters": []
132 }
133 ]
134 },
135 {
136 "name": "removeAppcache",
137 "description": "Clears websites' appcache data.",
138 "type": "function",
139 "parameters": [
140 {
141 "$ref": "RemovalOptions",
142 "name": "options"
143 },
144 {
145 "name": "callback",
146 "type": "function",
147 "description": "Called when websites' appcache data has been cleared .",
148 "optional": true,
149 "parameters": []
150 }
151 ]
152 },
153 {
154 "name": "removeCache",
155 "description": "Clears the browser's cache.",
156 "type": "function",
157 "parameters": [
158 {
159 "$ref": "RemovalOptions",
160 "name": "options"
161 },
162 {
163 "name": "callback",
164 "type": "function",
165 "description": "Called when the browser's cache has been cleared.",
166 "optional": true,
167 "parameters": []
168 }
169 ]
170 },
171 {
172 "name": "removeCookies",
173 "description": "Clears the browser's cookies and server-bound certificat es modified within a particular timeframe.",
174 "type": "function",
175 "parameters": [
176 {
177 "$ref": "RemovalOptions",
178 "name": "options"
179 },
180 {
181 "name": "callback",
182 "type": "function",
183 "description": "Called when the browser's cookies and server-bound c ertificates have been cleared.",
184 "optional": true,
185 "parameters": []
186 }
187 ]
188 },
189 {
190 "name": "removeDownloads",
191 "description": "Clears the browser's list of downloaded files (<em>not</ em> the downloaded files themselves).",
192 "type": "function",
193 "parameters": [
194 {
195 "$ref": "RemovalOptions",
196 "name": "options"
197 },
198 {
199 "name": "callback",
200 "type": "function",
201 "description": "Called when the browser's list of downloaded files h as been cleared.",
202 "optional": true,
203 "parameters": []
204 }
205 ]
206 },
207 {
208 "name": "removeFileSystems",
209 "description": "Clears websites' file system data.",
210 "type": "function",
211 "parameters": [
212 {
213 "$ref": "RemovalOptions",
214 "name": "options"
215 },
216 {
217 "name": "callback",
218 "type": "function",
219 "description": "Called when websites' file systems have been cleared .",
220 "optional": true,
221 "parameters": []
222 }
223 ]
224 },
225 {
226 "name": "removeFormData",
227 "description": "Clears the browser's stored form data (autofill).",
228 "type": "function",
229 "parameters": [
230 {
231 "$ref": "RemovalOptions",
232 "name": "options"
233 },
234 {
235 "name": "callback",
236 "type": "function",
237 "description": "Called when the browser's form data has been cleared .",
238 "optional": true,
239 "parameters": []
240 }
241 ]
242 },
243 {
244 "name": "removeHistory",
245 "description": "Clears the browser's history.",
246 "type": "function",
247 "parameters": [
248 {
249 "$ref": "RemovalOptions",
250 "name": "options"
251 },
252 {
253 "name": "callback",
254 "type": "function",
255 "description": "Called when the browser's history has cleared.",
256 "optional": true,
257 "parameters": []
258 }
259 ]
260 },
261 {
262 "name": "removeIndexedDB",
263 "description": "Clears websites' IndexedDB data.",
264 "type": "function",
265 "parameters": [
266 {
267 "$ref": "RemovalOptions",
268 "name": "options"
269 },
270 {
271 "name": "callback",
272 "type": "function",
273 "description": "Called when websites' IndexedDB data has been cleare d.",
274 "optional": true,
275 "parameters": []
276 }
277 ]
278 },
279 {
280 "name": "removeLocalStorage",
281 "description": "Clears websites' local storage data.",
282 "type": "function",
283 "parameters": [
284 {
285 "$ref": "RemovalOptions",
286 "name": "options"
287 },
288 {
289 "name": "callback",
290 "type": "function",
291 "description": "Called when websites' local storage has been cleared .",
292 "optional": true,
293 "parameters": []
294 }
295 ]
296 },
297 {
298 "name": "removePluginData",
299 "description": "Clears plugins' data.",
300 "type": "function",
301 "parameters": [
302 {
303 "$ref": "RemovalOptions",
304 "name": "options"
305 },
306 {
307 "name": "callback",
308 "type": "function",
309 "description": "Called when plugins' data has been cleared.",
310 "optional": true,
311 "parameters": []
312 }
313 ]
314 },
315 {
316 "name": "removePasswords",
317 "description": "Clears the browser's stored passwords.",
318 "type": "function",
319 "parameters": [
320 {
321 "$ref": "RemovalOptions",
322 "name": "options"
323 },
324 {
325 "name": "callback",
326 "type": "function",
327 "description": "Called when the browser's passwords have been cleare d.",
328 "optional": true,
329 "parameters": []
330 }
331 ]
332 },
333 {
334 "name": "removeWebSQL",
335 "description": "Clears websites' WebSQL data.",
336 "type": "function",
337 "parameters": [
338 {
339 "$ref": "RemovalOptions",
340 "name": "options"
341 },
342 {
343 "name": "callback",
344 "type": "function",
345 "description": "Called when websites' WebSQL databases have been cle ared.",
346 "optional": true,
347 "parameters": []
348 }
349 ]
350 }
351 ]
352 }
353 ]
OLDNEW
« no previous file with comments | « third_party/chrome/idl/browser_action.json ('k') | third_party/chrome/idl/chromeos_info_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698