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.
7 "namespace": "browsingData",
8 "description": "Use the <code>chrome.browsingData</code> API to remove browsing data from a user's local profile.",
11 "id": "RemovalOptions",
13 "description": "Options that determine exactly what data will be removed.",
18 "description": "Remove data accumulated on or after this date, represented in milliseconds since the epoch (accessible via the <code>getTime</code> method of the JavaScript <code>Date</code> object). If absent, defaults to 0 (which would remove all browsing data)."
23 "description": "An object whose properties specify which origin types ought to be cleared. If this object isn't specified, it defaults to clearing only \"unprotected\" origins. Please ensure that you <em>really</em> want to remove application data before adding 'protectedWeb' or 'extensions'.",
28 "description": "Normal websites."
33 "description": "Websites that have been installed as hosted applications (be careful!)."
38 "description": "Extensions and packaged applications a user has installed (be _really_ careful!)."
47 "description": "A set of data types. Missing data types are interpreted as <code>false</code>.",
52 "description": "Websites' appcaches."
57 "description": "The browser's cache. Note: when removing data, this clears the <em>entire</em> cache: it is not limited to the range you specify."
62 "description": "The browser's cookies."
67 "description": "The browser's download list."
72 "description": "Websites' file systems."
77 "description": "The browser's stored form data."
82 "description": "The browser's history."
87 "description": "Websites' IndexedDB data."
92 "description": "Websites' local storage data."
94 "serverBoundCertificates": {
97 "description": "Server-bound certificates."
102 "description": "Plugins' data."
107 "description": "Stored passwords."
112 "description": "Websites' WebSQL data."
120 "description": "Reports which types of data are currently selected in the 'Clear browsing data' settings UI. Note: some of the data types included in this API are not available in the settings UI, and some UI settings control more than one data type listed here.",
132 "$ref": "RemovalOptions"
135 "$ref": "DataTypeSet",
136 "description": "All of the types will be present in the result, with values of <code>true</code> if they are both selected to be removed and permitted to be removed, otherwise <code>false</code>."
138 "dataRemovalPermitted": {
139 "$ref": "DataTypeSet",
140 "description": "All of the types will be present in the result, with values of <code>true</code> if they are permitted to be removed (e.g., by enterprise policy) and <code>false</code> if not."
150 "description": "Clears various types of browsing data stored in a user's profile.",
154 "$ref": "RemovalOptions",
158 "name": "dataToRemove",
159 "$ref": "DataTypeSet",
160 "description": "The set of data types to remove."
165 "description": "Called when deletion has completed.",
172 "name": "removeAppcache",
173 "description": "Clears websites' appcache data.",
177 "$ref": "RemovalOptions",
183 "description": "Called when websites' appcache data has been cleared.",
190 "name": "removeCache",
191 "description": "Clears the browser's cache.",
195 "$ref": "RemovalOptions",
201 "description": "Called when the browser's cache has been cleared.",
208 "name": "removeCookies",
209 "description": "Clears the browser's cookies and server-bound certificates modified within a particular timeframe.",
213 "$ref": "RemovalOptions",
219 "description": "Called when the browser's cookies and server-bound certificates have been cleared.",
226 "name": "removeDownloads",
227 "description": "Clears the browser's list of downloaded files (<em>not</em> the downloaded files themselves).",
231 "$ref": "RemovalOptions",
237 "description": "Called when the browser's list of downloaded files has been cleared.",
244 "name": "removeFileSystems",
245 "description": "Clears websites' file system data.",
249 "$ref": "RemovalOptions",
255 "description": "Called when websites' file systems have been cleared.",
262 "name": "removeFormData",
263 "description": "Clears the browser's stored form data (autofill).",
267 "$ref": "RemovalOptions",
273 "description": "Called when the browser's form data has been cleared.",
280 "name": "removeHistory",
281 "description": "Clears the browser's history.",
285 "$ref": "RemovalOptions",
291 "description": "Called when the browser's history has cleared.",
298 "name": "removeIndexedDB",
299 "description": "Clears websites' IndexedDB data.",
303 "$ref": "RemovalOptions",
309 "description": "Called when websites' IndexedDB data has been cleared.",
316 "name": "removeLocalStorage",
317 "description": "Clears websites' local storage data.",
321 "$ref": "RemovalOptions",
327 "description": "Called when websites' local storage has been cleared.",
334 "name": "removePluginData",
335 "description": "Clears plugins' data.",
339 "$ref": "RemovalOptions",
345 "description": "Called when plugins' data has been cleared.",
352 "name": "removePasswords",
353 "description": "Clears the browser's stored passwords.",
357 "$ref": "RemovalOptions",
363 "description": "Called when the browser's passwords have been cleared.",
370 "name": "removeWebSQL",
371 "description": "Clears websites' WebSQL data.",
375 "$ref": "RemovalOptions",
381 "description": "Called when websites' WebSQL databases have been cleared.",