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

Side by Side 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: style 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/download/download_extension_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "experimental.downloads", 7 "namespace": "experimental.downloads",
8 "events": [ 8 "events": [
9 { 9 {
10 "name": "onCreated", 10 "name": "onCreated",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 "description": "An identifier that is persistent across browser sess ions." 135 "description": "An identifier that is persistent across browser sess ions."
136 }, 136 },
137 "url": { 137 "url": {
138 "type": "string", 138 "type": "string",
139 "description": "absolute URL" 139 "description": "absolute URL"
140 }, 140 },
141 "filename": { 141 "filename": {
142 "type": "string", 142 "type": "string",
143 "description": "absolute local path" 143 "description": "absolute local path"
144 }, 144 },
145 "incognito": {
146 "type": "boolean",
147 "description": "False if this download is recorded in the history, t rue if it is not recorded.",
148 "optional": true
149 },
145 "danger": { 150 "danger": {
146 "$ref": "DownloadDangerType", 151 "$ref": "DownloadDangerType",
147 "description": "Indication of whether this download is thought to be safe or known to be suspicious.", 152 "description": "Indication of whether this download is thought to be safe or known to be suspicious.",
148 "optional": true 153 "optional": true
149 }, 154 },
150 "dangerAccepted": { 155 "dangerAccepted": {
151 "type": "boolean", 156 "type": "boolean",
152 "description": "true if the user has accepted the download's danger. ", 157 "description": "true if the user has accepted the download's danger. ",
153 "optional": true 158 "optional": true
154 }, 159 },
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 "type": "string", 657 "type": "string",
653 "description": "A URL to an image that represents the download. If a file icon cannot be determined, chrome.extension.lastError will contain an error message." 658 "description": "A URL to an image that represents the download. If a file icon cannot be determined, chrome.extension.lastError will contain an error message."
654 } 659 }
655 ] 660 ]
656 } 661 }
657 ] 662 ]
658 } 663 }
659 ] 664 ]
660 } 665 }
661 ] 666 ]
OLDNEW
« no previous file with comments | « chrome/browser/download/download_extension_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698