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

Unified Diff: chrome/common/extensions/api/experimental.downloads.json

Issue 9425014: Fix most of the downloads api in incognito profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 8 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/experimental.downloads.json
diff --git a/chrome/common/extensions/api/experimental.downloads.json b/chrome/common/extensions/api/experimental.downloads.json
index 3aeecb230745fa4921230a09151ddad9af99ed6d..eaf8f379c5219f21f11c1ae29cba15f53748624d 100644
--- a/chrome/common/extensions/api/experimental.downloads.json
+++ b/chrome/common/extensions/api/experimental.downloads.json
@@ -142,6 +142,11 @@
"type": "string",
"description": "absolute local path"
},
+ "incognito": {
+ "type": "boolean",
+ "description": "True if this download is off-the-record, false or undefined otherwise.",
Randy Smith (Not in Mondays) 2012/05/02 18:57:01 Why the option (false versus undefined)?
benjhayden 2012/05/03 13:54:39 Done.
+ "optional": true
+ },
"danger": {
"$ref": "DownloadDangerType",
"description": "Indication of whether this download is thought to be safe or known to be suspicious.",
@@ -269,6 +274,12 @@
"optional": true,
"description": "absolute local path"
},
+ "incognito": {
+ "type": "string",
+ "optional": true,
+ "enum": ["none", "only"],
+ "description": "Whether to include only off-the-record downloads in the results, or no off-the-record downloads. The default (undefined) is to include both."
+ },
"danger": {
"$ref": "DownloadDangerType",
"description": "Indication of whether this download is thought to be safe or known to be suspicious.",

Powered by Google App Engine
This is Rietveld 408576698