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

Issue 9355050: Added read-only file error test. (Closed)

Created:
8 years, 10 months ago by ahendrickson
Modified:
8 years, 9 months ago
CC:
chromium-reviews, rdsmith+dwatch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Added read-only file error test. Depends on CLs 9568003 and 9570005. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126541

Patch Set 1 #

Patch Set 2 : Fixed merge errors. #

Patch Set 3 : Merged with parent #

Patch Set 4 : Merged with parent #

Patch Set 5 : Fixed posix issues #

Patch Set 6 : Merged with parent, fixed another posix error. #

Patch Set 7 : Fixed some issues & consolidated code #

Total comments: 20

Patch Set 8 : Merged with parent #

Patch Set 9 : Added comment. #

Total comments: 2

Patch Set 10 : Merged with trunk #

Patch Set 11 : Created file/folder permissions restoring class #

Patch Set 12 : Checking for download redirection to Documents folder. #

Total comments: 20

Patch Set 13 : Created DownloadId default constructor. Cleaned up per Chris' comments. #

Total comments: 4

Patch Set 14 : Minor changes. #

Patch Set 15 : Merged with parent. #

Patch Set 16 : Merged with parent. #

Patch Set 17 : Merged with parent. #

Total comments: 1

Patch Set 18 : Merged with trunk. #

Patch Set 19 : Merged with trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -4 lines) Patch
M base/test/test_file_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +15 lines, -0 lines 0 comments Download
M base/test/test_file_util_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +49 lines, -0 lines 0 comments Download
M base/test/test_file_util_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +63 lines, -0 lines 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 11 chunks +77 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
ahendrickson
PTAL
8 years, 10 months ago (2012-02-24 01:31:24 UTC) #1
Randy Smith (Not in Mondays)
You should find someone who counts as an owner for base/test; I wouldn't think Chris ...
8 years, 10 months ago (2012-02-24 19:11:54 UTC) #2
Randy Smith (Not in Mondays)
First pass. http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc#newcode693 chrome/browser/download/download_browsertest.cc:693: NullSelectFile(browser()); // Needed for read-only tests. This ...
8 years, 10 months ago (2012-02-24 19:16:15 UTC) #3
ahendrickson
Pawel, please take a look at the changes in base/test. I added code that records ...
8 years, 10 months ago (2012-02-25 01:05:17 UTC) #4
Paweł Hajdan Jr.
http://codereview.chromium.org/9355050/diff/21010/base/test/test_file_util.h File base/test/test_file_util.h (right): http://codereview.chromium.org/9355050/diff/21010/base/test/test_file_util.h#newcode62 base/test/test_file_util.h:62: void* GetPermissionInfo(const FilePath& path, size_t* length); I don't like ...
8 years, 10 months ago (2012-02-27 09:09:24 UTC) #5
ahendrickson
http://codereview.chromium.org/9355050/diff/21010/base/test/test_file_util.h File base/test/test_file_util.h (right): http://codereview.chromium.org/9355050/diff/21010/base/test/test_file_util.h#newcode62 base/test/test_file_util.h:62: void* GetPermissionInfo(const FilePath& path, size_t* length); On 2012/02/27 09:09:25, ...
8 years, 9 months ago (2012-02-27 16:39:34 UTC) #6
Randy Smith (Not in Mondays)
http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc#newcode693 chrome/browser/download/download_browsertest.cc:693: NullSelectFile(browser()); // Needed for read-only tests. On 2012/02/25 01:05:17, ...
8 years, 9 months ago (2012-02-27 21:06:03 UTC) #7
ahendrickson
http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc#newcode693 chrome/browser/download/download_browsertest.cc:693: NullSelectFile(browser()); // Needed for read-only tests. On 2012/02/27 21:06:03, ...
8 years, 9 months ago (2012-02-28 03:59:24 UTC) #8
Paweł Hajdan Jr.
http://codereview.chromium.org/9355050/diff/30001/base/test/test_file_util.h File base/test/test_file_util.h (right): http://codereview.chromium.org/9355050/diff/30001/base/test/test_file_util.h#newcode62 base/test/test_file_util.h:62: public: nit: indent +1 http://codereview.chromium.org/9355050/diff/30001/base/test/test_file_util.h#newcode66 base/test/test_file_util.h:66: private: nit: indent ...
8 years, 9 months ago (2012-02-28 07:55:54 UTC) #9
ahendrickson
http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc#newcode723 chrome/browser/download/download_browsertest.cc:723: observer->WaitForFinished(); On 2012/02/28 03:59:25, ahendrickson wrote: > On 2012/02/27 ...
8 years, 9 months ago (2012-03-01 15:18:18 UTC) #10
Paweł Hajdan Jr.
Have you uploaded the updated patchset?
8 years, 9 months ago (2012-03-01 17:30:52 UTC) #11
ahendrickson
On 2012/03/01 17:30:52, Paweł Hajdan Jr. wrote: > Have you uploaded the updated patchset? Oops! ...
8 years, 9 months ago (2012-03-01 20:08:14 UTC) #12
Randy Smith (Not in Mondays)
Pretty darn close (commenting on download_browsertest.cc only; I haven't reviewed the other files). http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc File ...
8 years, 9 months ago (2012-03-01 20:37:14 UTC) #13
Paweł Hajdan Jr.
LGTM with a nit. http://codereview.chromium.org/9355050/diff/37003/base/test/test_file_util.h File base/test/test_file_util.h (right): http://codereview.chromium.org/9355050/diff/37003/base/test/test_file_util.h#newcode69 base/test/test_file_util.h:69: size_t length_; // the length ...
8 years, 9 months ago (2012-03-02 12:26:24 UTC) #14
ahendrickson
http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/9355050/diff/20001/chrome/browser/download/download_browsertest.cc#newcode723 chrome/browser/download/download_browsertest.cc:723: observer->WaitForFinished(); On 2012/03/01 20:37:14, rdsmith wrote: > On 2012/03/01 ...
8 years, 9 months ago (2012-03-02 17:51:57 UTC) #15
Randy Smith (Not in Mondays)
This looks fine. I'd like to glance it at again after 9570005 goes in and ...
8 years, 9 months ago (2012-03-06 20:57:48 UTC) #16
ahendrickson
On 2012/03/06 20:57:48, rdsmith wrote: > This looks fine. I'd like to glance it at ...
8 years, 9 months ago (2012-03-12 12:00:33 UTC) #17
Randy Smith (Not in Mondays)
LGTM. http://codereview.chromium.org/9355050/diff/54001/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/9355050/diff/54001/chrome/browser/download/download_browsertest.cc#newcode705 chrome/browser/download/download_browsertest.cc:705: observer->WaitForFinished(); Part of me's a little bothered that ...
8 years, 9 months ago (2012-03-12 17:51:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahendrickson@chromium.org/9355050/61005
8 years, 9 months ago (2012-03-13 13:34:17 UTC) #19
commit-bot: I haz the power
Try job failure for 9355050-61005 (retry) (retry) on win_rel for step "browser_tests". It's a second ...
8 years, 9 months ago (2012-03-13 16:56:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahendrickson@chromium.org/9355050/61005
8 years, 9 months ago (2012-03-13 18:13:31 UTC) #21
commit-bot: I haz the power
Try job failure for 9355050-61005 (retry) on linux_rel for step "unit_tests". It's a second try, ...
8 years, 9 months ago (2012-03-13 19:18:30 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahendrickson@chromium.org/9355050/61005
8 years, 9 months ago (2012-03-13 22:30:43 UTC) #23
commit-bot: I haz the power
8 years, 9 months ago (2012-03-14 03:19:05 UTC) #24
Change committed as 126541

Powered by Google App Engine
This is Rietveld 408576698