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

Issue 9150028: Cleanup: ResourceDispatcherHost::BeginDownload takes a scoped_ptr<URLRequest> argument. (Closed)

Created:
8 years, 11 months ago by cbentzel
Modified:
8 years, 11 months ago
Reviewers:
benjhayden, jam
CC:
chromium-reviews, mihaip+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Cleanup: ResourceDispatcherHost::BeginDownload takes a scoped_ptr<URLRequest> argument. This used to take an URLRequest*, with a comment about ownership. Changing to a scoped_ptr argument makes the ownership explicit and enforceable by the compiler. Also, changed the name of the child_id argument to be process_unique_id to be consistent with the rest of the file. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118351

Patch Set 1 #

Patch Set 2 : s/process_unique_id/child_id/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -41 lines) Patch
M chrome/browser/download/download_extension_api.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host.h View 1 10 chunks +24 lines, -24 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host.cc View 1 4 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
cbentzel
jam: resource_dispatcher_host ben: downloads
8 years, 11 months ago (2012-01-19 13:07:48 UTC) #1
benjhayden
lgtm
8 years, 11 months ago (2012-01-19 14:15:38 UTC) #2
jam
actually, process_unique_id is not the convention we use (child_id is)*. can you switch the file ...
8 years, 11 months ago (2012-01-19 18:09:33 UTC) #3
jam
On 2012/01/19 18:09:33, John Abd-El-Malek wrote: > actually, process_unique_id is not the convention we use ...
8 years, 11 months ago (2012-01-19 18:17:36 UTC) #4
cbentzel
Huh, resource_dispatcher_host.h shows 23 cases of process_unique_id, versus 4 for child_id. Perhaps cs is lagging ...
8 years, 11 months ago (2012-01-19 18:17:41 UTC) #5
cbentzel
Moved to child_id, per our discussion.
8 years, 11 months ago (2012-01-19 18:50:54 UTC) #6
jam
lgtm
8 years, 11 months ago (2012-01-19 18:54:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cbentzel@chromium.org/9150028/3003
8 years, 11 months ago (2012-01-19 19:38:19 UTC) #8
commit-bot: I haz the power
8 years, 11 months ago (2012-01-19 20:56:07 UTC) #9
Change committed as 118351

Powered by Google App Engine
This is Rietveld 408576698