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

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, 7 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.",
Matt Perry 2012/05/14 22:57:11 off-the-record is a term internal to chrome. Use "
benjhayden 2012/05/15 17:16:25 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": {
Matt Perry 2012/05/14 22:57:11 I don't think we should expose this to the API. It
Matt Perry 2012/05/14 22:58:55 BTW, ExtensionFunction::include_incognito_ is inte
benjhayden 2012/05/15 17:16:25 Done.
benjhayden 2012/05/15 17:16:25 Done.
+ "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