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

Unified Diff: chrome/common/extensions/api/browsing_data.json

Issue 10522002: `chrome.browsingData` extension API can now remove data from protected origins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bernhard 2. Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/browsing_data.json
diff --git a/chrome/common/extensions/api/browsing_data.json b/chrome/common/extensions/api/browsing_data.json
index 7ba52ccc94be068be750f451ce0feeffe6354bd1..d1f6c72cc798c86e208d2c8f189a27d9b2b7c9d1 100644
--- a/chrome/common/extensions/api/browsing_data.json
+++ b/chrome/common/extensions/api/browsing_data.json
@@ -15,6 +15,23 @@
"type": "number",
"optional": true,
"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)."
+ },
+ "origin_types": {
+ "type": "object",
+ "optional": true,
+ "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 'protected_web'.",
+ "properties": {
+ "unprotected_web": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Normal websites."
+ },
+ "protected_web": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Websites that have been installed as hosted applications."
+ }
+ }
}
}
}

Powered by Google App Engine
This is Rietveld 408576698