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

Issue 1096323003: Remove unused sorting options from DirectoryLister. (Closed)

Created:
5 years, 8 months ago by Olli Raula
Modified:
5 years, 8 months ago
Reviewers:
sky, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DATE and FULL_PATH type sorts are not used anywhere. Date is not even tested anywhere. Removed those from all related files. Recursive is used only with NO_SORT so removed the option to use it in combination with sorting. Committed: https://crrev.com/3396ad31e40ceef8d08cef11a91da9ee15ff6159 Cr-Commit-Position: refs/heads/master@{#326754}

Patch Set 1 #

Total comments: 1

Patch Set 2 : removed unused possibility to make recursive sort #

Total comments: 6

Patch Set 3 : fixed nits #

Patch Set 4 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -95 lines) Patch
M chrome/browser/file_select_helper.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M net/base/directory_lister.h View 1 2 3 chunks +9 lines, -18 lines 0 comments Download
M net/base/directory_lister.cc View 1 2 5 chunks +18 lines, -44 lines 0 comments Download
M net/base/directory_lister_unittest.cc View 1 2 12 chunks +14 lines, -29 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
olli.syrjala
Could you review?
5 years, 8 months ago (2015-04-22 08:09:12 UTC) #2
mmenke
https://codereview.chromium.org/1096323003/diff/1/net/base/directory_lister_unittest.cc File net/base/directory_lister_unittest.cc (left): https://codereview.chromium.org/1096323003/diff/1/net/base/directory_lister_unittest.cc#oldcode221 net/base/directory_lister_unittest.cc:221: ListerDelegate delegate(true); This was the only recursive test. I ...
5 years, 8 months ago (2015-04-22 14:57:20 UTC) #3
olli.syrjala
Added sky to reviewers because changed function call in owned file Thanks for comments. I ...
5 years, 8 months ago (2015-04-23 13:11:07 UTC) #5
mmenke
LGTM, modulo nits. Think it's reasonable to remove sort+recursive, since no one's using it. https://codereview.chromium.org/1096323003/diff/20001/chrome/browser/file_select_helper.cc ...
5 years, 8 months ago (2015-04-23 14:57:00 UTC) #6
mmenke
One other thing: Suggest you clean up the description a little. No need to include ...
5 years, 8 months ago (2015-04-23 16:05:35 UTC) #7
sky
LGTM https://codereview.chromium.org/1096323003/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/1096323003/diff/20001/chrome/browser/file_select_helper.cc#newcode197 chrome/browser/file_select_helper.cc:197: entry->delegate_.get())); On 2015/04/23 14:57:00, mmenke (Out 4-27 to ...
5 years, 8 months ago (2015-04-23 16:40:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096323003/60001
5 years, 8 months ago (2015-04-24 06:47:56 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-24 07:56:51 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 07:57:55 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3396ad31e40ceef8d08cef11a91da9ee15ff6159
Cr-Commit-Position: refs/heads/master@{#326754}

Powered by Google App Engine
This is Rietveld 408576698