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

Issue 7480046: chrome.experimental.downloads stubs (Closed)

Created:
9 years, 5 months ago by benjhayden
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews
Visibility:
Public.

Description

chrome.experimental.downloads stubs http://goo.gl/6hO1n Future CLs will contain implementations for the functions and events. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96778

Patch Set 1 #

Total comments: 2

Patch Set 2 : _api #

Total comments: 2

Patch Set 3 : " #

Total comments: 18

Patch Set 4 : DownloadDelta #

Total comments: 8

Patch Set 5 : nits #

Patch Set 6 : " #

Patch Set 7 : " #

Patch Set 8 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+922 lines, -0 lines) Patch
A chrome/browser/extensions/extension_downloads_api.h View 1 2 3 4 5 1 chunk +162 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_downloads_api.cc View 1 2 3 4 5 1 chunk +168 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_downloads_api_constants.h View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_downloads_api_constants.cc View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 6 7 1 chunk +531 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/resources/renderer_extension_bindings.js View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
benjhayden
Stubs for chrome.experimental.downloads functions. Future CLs will include implementations, events (in ExtensionBrowserEventRouter), tests, etc. Getting ...
9 years, 5 months ago (2011-07-27 15:23:32 UTC) #1
Mihai Parparita -not on Chrome
http://codereview.chromium.org/7480046/diff/1/chrome/common/extensions/api/extension_api.json File chrome/common/extensions/api/extension_api.json (right): http://codereview.chromium.org/7480046/diff/1/chrome/common/extensions/api/extension_api.json#newcode3057 chrome/common/extensions/api/extension_api.json:3057: "namespace": "experimental.downloads", It's probably a good idea to add ...
9 years, 5 months ago (2011-07-27 16:28:08 UTC) #2
benjhayden
http://codereview.chromium.org/7480046/diff/1/chrome/common/extensions/api/extension_api.json File chrome/common/extensions/api/extension_api.json (right): http://codereview.chromium.org/7480046/diff/1/chrome/common/extensions/api/extension_api.json#newcode3057 chrome/common/extensions/api/extension_api.json:3057: "namespace": "experimental.downloads", On 2011/07/27 16:28:08, Mihai Parparita wrote: > ...
9 years, 5 months ago (2011-07-27 18:40:31 UTC) #3
asanka
Would extension_downloads_api.{h,cc} fit in better with the naming convention?
9 years, 5 months ago (2011-07-27 19:31:35 UTC) #4
benjhayden
On 2011/07/27 19:31:35, asanka wrote: > Would extension_downloads_api.{h,cc} fit in better with the naming convention? ...
9 years, 4 months ago (2011-07-28 15:31:42 UTC) #5
Randy Smith (Not in Mondays)
LGTM, but I'm not a good person for really evaluating this, since it's primarily about ...
9 years, 4 months ago (2011-07-28 20:11:08 UTC) #6
benjhayden
http://codereview.chromium.org/7480046/diff/8001/chrome/browser/extensions/extension_downloads_api.h File chrome/browser/extensions/extension_downloads_api.h (right): http://codereview.chromium.org/7480046/diff/8001/chrome/browser/extensions/extension_downloads_api.h#newcode27 chrome/browser/extensions/extension_downloads_api.h:27: // http://goo.gl/6hO1n On 2011/07/28 20:11:09, rdsmith wrote: > This ...
9 years, 4 months ago (2011-07-28 20:32:06 UTC) #7
Mihai Parparita -not on Chrome
http://codereview.chromium.org/7480046/diff/14001/chrome/browser/extensions/extension_downloads_api.cc File chrome/browser/extensions/extension_downloads_api.cc (right): http://codereview.chromium.org/7480046/diff/14001/chrome/browser/extensions/extension_downloads_api.cc#newcode28 chrome/browser/extensions/extension_downloads_api.cc:28: EXTENSION_FUNCTION_VALIDATE(options_->GetString("url", &url_)); Key names should be in constants (see ...
9 years, 4 months ago (2011-07-28 23:18:29 UTC) #8
Mihai Parparita -not on Chrome
On Thu, Jul 28, 2011 at 1:11 PM, <rdsmith@chromium.org> wrote: > LGTM, but I'm not ...
9 years, 4 months ago (2011-07-28 23:50:54 UTC) #9
benjhayden
I'll finish the DownloadDelta/Download*Diff json tomorrow. PTAL at the rest. Thanks! http://codereview.chromium.org/7480046/diff/14001/chrome/browser/extensions/extension_downloads_api.cc File chrome/browser/extensions/extension_downloads_api.cc (right): ...
9 years, 4 months ago (2011-08-01 21:43:51 UTC) #10
benjhayden
DownloadDelta done. The api.json should be basically complete. When the API is implemented and a ...
9 years, 4 months ago (2011-08-02 19:35:39 UTC) #11
Mihai Parparita -not on Chrome
LGTM, just some style nits. http://codereview.chromium.org/7480046/diff/22001/chrome/browser/extensions/extension_downloads_api.h File chrome/browser/extensions/extension_downloads_api.h (right): http://codereview.chromium.org/7480046/diff/22001/chrome/browser/extensions/extension_downloads_api.h#newcode61 chrome/browser/extensions/extension_downloads_api.h:61: int dl_id_; Nit: These ...
9 years, 4 months ago (2011-08-09 19:51:41 UTC) #12
benjhayden
http://codereview.chromium.org/7480046/diff/22001/chrome/browser/extensions/extension_downloads_api.h File chrome/browser/extensions/extension_downloads_api.h (right): http://codereview.chromium.org/7480046/diff/22001/chrome/browser/extensions/extension_downloads_api.h#newcode61 chrome/browser/extensions/extension_downloads_api.h:61: int dl_id_; On 2011/08/09 19:51:42, Mihai Parparita wrote: > ...
9 years, 4 months ago (2011-08-09 20:59:50 UTC) #13
benjhayden
Thanks for your time! I'll submit this tomorrow morning after merging and recompiling if there ...
9 years, 4 months ago (2011-08-09 21:07:29 UTC) #14
Mihai Parparita -not on Chrome
Sounds good, still LGTM. Mihai On Tue, Aug 9, 2011 at 2:07 PM, <benjhayden@chromium.org> wrote: ...
9 years, 4 months ago (2011-08-09 21:10:27 UTC) #15
commit-bot: I haz the power
9 years, 4 months ago (2011-08-15 16:17:16 UTC) #16
Change committed as 96778

Powered by Google App Engine
This is Rietveld 408576698