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

Issue 11068027: OnDownloadStarted takes DownloadItem* instead of DownloadId (Closed)

Created:
8 years, 2 months ago by benjhayden
Modified:
8 years, 2 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, groby+watch_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, smckay+watch_chromium.org, gbillock+watch_chromium.org, stuartmorgan+watch_chromium.org, rouslan+watch_chromium.org
Visibility:
Public.

Description

OnDownloadStarted takes DownloadItem* instead of DownloadId PS1@r160378 Reviewers: sky: content/public/test, content/browser/renderer_host/resource_dispatcher_host_impl.cc binji: chrome/browser/ui/intents bauerb: chrome/browser/plugins finnur: chrome/browser/extensions Done: rdsmith: * Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160971

Patch Set 1 #

Total comments: 8

Patch Set 2 : @r160644 #

Patch Set 3 : @r160830 #

Total comments: 6

Patch Set 4 : @r160830 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -79 lines) Patch
M chrome/browser/download/download_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 2 chunks +11 lines, -19 lines 0 comments Download
M chrome/browser/plugins/plugin_installer.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/plugins/plugin_installer.cc View 1 2 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/download/download_resource_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_resource_handler.cc View 1 2 5 chunks +11 lines, -10 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/download_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/download_url_parameters.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/public/browser/resource_dispatcher_host.h View 3 chunks +8 lines, -6 lines 0 comments Download
M content/public/test/download_test_observer.h View 2 chunks +3 lines, -5 lines 0 comments Download
M content/public/test/download_test_observer.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M content/public/test/mock_download_manager.h View 1 chunk +2 lines, -3 lines 0 comments Download
M content/public/test/mock_download_manager.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
benjhayden
PTAL
8 years, 2 months ago (2012-10-05 19:11:36 UTC) #1
Randy Smith (Not in Mondays)
It's awesome when I have a "Oh, that refactor's going to be complicated" reaction, and ...
8 years, 2 months ago (2012-10-08 19:20:52 UTC) #2
benjhayden
http://codereview.chromium.org/11068027/diff/1/chrome/browser/extensions/extension_browsertest.cc File chrome/browser/extensions/extension_browsertest.cc (right): http://codereview.chromium.org/11068027/diff/1/chrome/browser/extensions/extension_browsertest.cc#newcode15 chrome/browser/extensions/extension_browsertest.cc:15: #include "base/stringprintf.h" On 2012/10/08 19:20:52, rdsmith wrote: > Why? ...
8 years, 2 months ago (2012-10-08 19:49:45 UTC) #3
Randy Smith (Not in Mondays)
lgtm
8 years, 2 months ago (2012-10-08 19:50:40 UTC) #4
benjhayden
sky, binji, bauerb, finnur: PTAL for ownership. Thanks!
8 years, 2 months ago (2012-10-09 15:28:02 UTC) #5
Finnur
OWNERS LG. Just have a couple of nits for those files I looked at. General ...
8 years, 2 months ago (2012-10-09 15:57:51 UTC) #6
Finnur
Hmm... let's try that again: OWNERS LGTM (with nits)
8 years, 2 months ago (2012-10-09 15:58:19 UTC) #7
binji
intents lgtm
8 years, 2 months ago (2012-10-09 16:02:29 UTC) #8
Bernhard Bauer
chrome/browser/plugins LGTM
8 years, 2 months ago (2012-10-09 16:04:25 UTC) #9
sky
LGTM http://codereview.chromium.org/11068027/diff/16004/content/public/test/download_test_observer.cc File content/public/test/download_test_observer.cc (right): http://codereview.chromium.org/11068027/diff/16004/content/public/test/download_test_observer.cc#newcode412 content/public/test/download_test_observer.cc:412: DownloadItem* item, net::Error error) { nit: when you ...
8 years, 2 months ago (2012-10-09 16:16:11 UTC) #10
benjhayden
CQ-ing. Thanks, everybody, for the prompt response! http://codereview.chromium.org/11068027/diff/16004/chrome/browser/extensions/api/downloads/downloads_api.cc File chrome/browser/extensions/api/downloads/downloads_api.cc (right): http://codereview.chromium.org/11068027/diff/16004/chrome/browser/extensions/api/downloads/downloads_api.cc#newcode651 chrome/browser/extensions/api/downloads/downloads_api.cc:651: VLOG(1) << ...
8 years, 2 months ago (2012-10-09 20:57:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/11068027/15006
8 years, 2 months ago (2012-10-09 20:58:41 UTC) #12
commit-bot: I haz the power
8 years, 2 months ago (2012-10-09 23:17:59 UTC) #13
Change committed as 160971

Powered by Google App Engine
This is Rietveld 408576698