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

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: test 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..6bb443602b60e06615856d09a48cf290dd868b17 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 otherwise.",
+ "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