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

Issue 7859001: Added ability to set ChromeDownloadManagerDelegate for testing. (Closed)

Created:
9 years, 3 months ago by Randy Smith (Not in Mondays)
Modified:
9 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added ability to set ChromeDownloadManagerDelegate for testing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101114

Patch Set 1 #

Patch Set 2 : Remove surperfluous FRIEND_TEST*s #

Patch Set 3 : Various compilation fixes. #

Patch Set 4 : Various nits from self-review. #

Total comments: 13

Patch Set 5 : Added todo about moving message loop out of constructor. #

Patch Set 6 : Marked SetDownloadManagerDelegate as not implemented. #

Patch Set 7 : Merged to LKGR. #

Patch Set 8 : Added comment to NOTIMPLEMENTED in presumably doomed attempt to please everyone :-}. #

Patch Set 9 : Merged up to TOT. #

Patch Set 10 : Merged to TOT. Again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -132 lines) Patch
M chrome/browser/download/chrome_download_manager_delegate.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 3 4 5 6 4 chunks +167 lines, -128 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -1 line 0 comments Download
M chrome/test/base/testing_profile.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/download/download_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Randy Smith (Not in Mondays)
PTAL? This is testing functionality I need for work I'm doing for 85408, but it ...
9 years, 3 months ago (2011-09-08 20:17:48 UTC) #1
jam
lgtm
9 years, 3 months ago (2011-09-08 21:14:24 UTC) #2
ahendrickson
LGTM, with nits. You might want to run the linux_clang bot before committing. http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc File ...
9 years, 3 months ago (2011-09-08 21:24:40 UTC) #3
Randy Smith (Not in Mondays)
http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc#newcode503 chrome/browser/download/download_browsertest.cc:503: void* data) OVERRIDE { On 2011/09/08 21:24:40, ahendrickson wrote: ...
9 years, 3 months ago (2011-09-08 21:27:12 UTC) #4
Miranda Callahan
On 2011/09/08 21:27:12, rdsmith wrote: > http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc > File chrome/browser/download/download_browsertest.cc (right): > > http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc#newcode503 > ...
9 years, 3 months ago (2011-09-09 11:39:42 UTC) #5
Paweł Hajdan Jr.
http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc#newcode790 chrome/test/base/testing_profile.cc:790: ChromeDownloadManagerDelegate* delegate) { Why empty? This is very surprising.
9 years, 3 months ago (2011-09-09 22:11:54 UTC) #6
Randy Smith (Not in Mondays)
http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc#newcode790 chrome/test/base/testing_profile.cc:790: ChromeDownloadManagerDelegate* delegate) { On 2011/09/09 22:11:54, Paweł Hajdan Jr. ...
9 years, 3 months ago (2011-09-09 23:45:14 UTC) #7
Randy Smith (Not in Mondays)
On 2011/09/09 23:45:14, rdsmith wrote: > http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc > File chrome/test/base/testing_profile.cc (right): > > http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc#newcode790 > ...
9 years, 3 months ago (2011-09-09 23:45:47 UTC) #8
benjhayden
LGTM http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc#newcode528 chrome/browser/download/download_browsertest.cc:528: ui_test_utils::RunMessageLoop(); On 2011/09/08 21:27:12, rdsmith wrote: > On ...
9 years, 3 months ago (2011-09-12 16:32:25 UTC) #9
Randy Smith (Not in Mondays)
All ready except for Pawel's LGTM. http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/browser/download/download_browsertest.cc#newcode528 chrome/browser/download/download_browsertest.cc:528: ui_test_utils::RunMessageLoop(); On 2011/09/12 ...
9 years, 3 months ago (2011-09-12 17:52:58 UTC) #10
Paweł Hajdan Jr.
http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc#newcode790 chrome/test/base/testing_profile.cc:790: ChromeDownloadManagerDelegate* delegate) { On 2011/09/12 16:32:25, b s h ...
9 years, 3 months ago (2011-09-12 20:06:44 UTC) #11
Randy Smith (Not in Mondays)
How's this? http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc#newcode790 chrome/test/base/testing_profile.cc:790: ChromeDownloadManagerDelegate* delegate) { On 2011/09/12 20:06:44, Paweł ...
9 years, 3 months ago (2011-09-13 03:13:18 UTC) #12
Paweł Hajdan Jr.
lgtm
9 years, 3 months ago (2011-09-13 16:51:09 UTC) #13
jam
http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc#newcode790 chrome/test/base/testing_profile.cc:790: ChromeDownloadManagerDelegate* delegate) { On 2011/09/12 20:06:44, Paweł Hajdan Jr. ...
9 years, 3 months ago (2011-09-13 17:18:03 UTC) #14
Randy Smith (Not in Mondays)
On 2011/09/13 17:18:03, John Abd-El-Malek wrote: > http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc > File chrome/test/base/testing_profile.cc (right): > > http://codereview.chromium.org/7859001/diff/3001/chrome/test/base/testing_profile.cc#newcode790 ...
9 years, 3 months ago (2011-09-13 17:43:47 UTC) #15
jam
On 2011/09/13 17:43:47, rdsmith wrote: > On 2011/09/13 17:18:03, John Abd-El-Malek wrote: > > > ...
9 years, 3 months ago (2011-09-13 17:46:49 UTC) #16
commit-bot: I haz the power
Can't apply patch for file chrome/browser/profiles/off_the_record_profile_impl.cc. While running patch -p1 --forward --force; patching file chrome/browser/profiles/off_the_record_profile_impl.cc ...
9 years, 3 months ago (2011-09-13 18:11:35 UTC) #17
commit-bot: I haz the power
Can't apply patch for file chrome/browser/profiles/off_the_record_profile_impl.cc. While running patch -p1 --forward --force; patching file chrome/browser/profiles/off_the_record_profile_impl.cc ...
9 years, 3 months ago (2011-09-13 20:49:39 UTC) #18
commit-bot: I haz the power
Can't apply patch for file content/browser/download/download_manager.h. While running patch -p1 --forward --force; patching file content/browser/download/download_manager.h ...
9 years, 3 months ago (2011-09-14 14:54:13 UTC) #19
commit-bot: I haz the power
9 years, 3 months ago (2011-09-14 19:13:56 UTC) #20
Change committed as 101114

Powered by Google App Engine
This is Rietveld 408576698