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

Issue 3175023: Allow net::DirectoryLister to be used to recursively list the directory, and ... (Closed)

Created:
10 years, 4 months ago by John Gregg
Modified:
9 years ago
Reviewers:
Evan Stade
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Allow net::DirectoryLister to be used to recursively list the directory, and add a FULL_PATH sort option. BUG=41762 TEST=unit test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57005

Patch Set 1 #

Patch Set 2 : lint fixes #

Total comments: 9

Patch Set 3 : '' #

Patch Set 4 : lint fix #

Total comments: 2

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -79 lines) Patch
M chrome/browser/dom_ui/filebrowse_ui.cc View 1 2 3 4 5 6 4 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/dom_ui/slideshow_ui.cc View 1 2 3 4 5 6 2 chunks +8 lines, -7 lines 0 comments Download
M net/base/directory_lister.h View 1 2 3 4 5 6 7 8 3 chunks +32 lines, -6 lines 0 comments Download
M net/base/directory_lister.cc View 1 2 3 4 5 6 7 8 5 chunks +62 lines, -37 lines 0 comments Download
M net/base/directory_lister_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +44 lines, -5 lines 0 comments Download
M net/url_request/url_request_file_dir_job.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M net/url_request/url_request_file_dir_job.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
John Gregg
10 years, 4 months ago (2010-08-19 01:29:38 UTC) #1
Evan Stade
http://codereview.chromium.org/3175023/diff/9001/10004 File net/base/directory_lister.h (right): http://codereview.chromium.org/3175023/diff/9001/10004#newcode21 net/base/directory_lister.h:21: struct DirectoryListerData { document. And it seems this should ...
10 years, 4 months ago (2010-08-19 19:57:19 UTC) #2
John Gregg
http://codereview.chromium.org/3175023/diff/9001/10004 File net/base/directory_lister.h (right): http://codereview.chromium.org/3175023/diff/9001/10004#newcode21 net/base/directory_lister.h:21: struct DirectoryListerData { On 2010/08/19 19:57:19, Evan Stade wrote: ...
10 years, 4 months ago (2010-08-20 17:33:08 UTC) #3
Evan Stade
http://codereview.chromium.org/3175023/diff/9001/10004 File net/base/directory_lister.h (right): http://codereview.chromium.org/3175023/diff/9001/10004#newcode52 net/base/directory_lister.h:52: FULL_PATH On 2010/08/20 17:33:08, John Gregg wrote: > On ...
10 years, 4 months ago (2010-08-20 18:54:28 UTC) #4
Evan Stade
> If the sort order is going to be user-facing, you probably > want to ...
10 years, 4 months ago (2010-08-20 19:07:55 UTC) #5
John Gregg
yes, the main difference is you would use ALPHA for a single directory and FULL_PATH ...
10 years, 4 months ago (2010-08-20 19:47:31 UTC) #6
Evan Stade
thanks for the explanation(s) mostly LGTM http://codereview.chromium.org/3175023/diff/33001/34003 File net/base/directory_lister.cc (right): http://codereview.chromium.org/3175023/diff/33001/34003#newcode161 net/base/directory_lister.cc:161: while (!canceled_.IsSet() && ...
10 years, 4 months ago (2010-08-20 20:22:15 UTC) #7
John Gregg
okay, nits fixed and changed the interface to take the struct. please take another look.
10 years, 4 months ago (2010-08-20 23:41:06 UTC) #8
Evan Stade
LGTM with one last question http://codereview.chromium.org/3175023/diff/50001/51004 File net/base/directory_lister.h (right): http://codereview.chromium.org/3175023/diff/50001/51004#newcode89 net/base/directory_lister.h:89: class DirectoryDataEvent : public ...
10 years, 4 months ago (2010-08-20 23:55:09 UTC) #9
John Gregg
On 2010/08/20 23:55:09, Evan Stade wrote: > LGTM with one last question > > http://codereview.chromium.org/3175023/diff/50001/51004 ...
10 years, 4 months ago (2010-08-21 00:17:32 UTC) #10
Evan Stade
10 years, 4 months ago (2010-08-21 00:20:04 UTC) #11
thanks, lg

Powered by Google App Engine
This is Rietveld 408576698