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

Issue 7300005: Move filename determination to net_util (Closed)

Created:
9 years, 5 months ago by asanka
Modified:
9 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Move filename determination logic to net_util so that it's not split between net_util and download_util. BUG=78085 TEST=net_unittests --gtest_filter=*Generate*FileName Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96029

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase and add more test cases #

Patch Set 6 : Revert encoding changes and API migration for easier review #

Patch Set 7 : Call GenerateSafeFileName from GetSuggestedFileName #

Patch Set 8 : Comments #

Total comments: 25

Patch Set 9 : Address review comments #

Patch Set 10 : Revert logic changes #

Patch Set 11 : Trivial rebase #

Patch Set 12 : " #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1441 lines, -1067 lines) Patch
M chrome/browser/download/download_util.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -21 lines 0 comments Download
M chrome/browser/download/download_util.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -177 lines 0 comments Download
D chrome/browser/download/download_util_unittest.cc View 1 chunk +0 lines, -582 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/download/save_package.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -17 lines 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 6 7 8 9 2 chunks +33 lines, -6 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 5 6 7 8 9 5 chunks +157 lines, -1 line 0 comments Download
M net/base/net_util_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +1234 lines, -262 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
asanka
Download filename determination logic is split between download_util and net_util. This CL is to move ...
9 years, 5 months ago (2011-07-22 19:54:47 UTC) #1
asanka
[+rvargas]
9 years, 5 months ago (2011-07-25 01:10:16 UTC) #2
Paweł Hajdan Jr.
LGTM, I didn't look into much details assuming it's just a move.
9 years, 5 months ago (2011-07-25 18:38:27 UTC) #3
rvargas (doing something else)
Who's doing the detailed review? http://codereview.chromium.org/7300005/diff/15006/net/base/net_util.cc File net/base/net_util.cc (right): http://codereview.chromium.org/7300005/diff/15006/net/base/net_util.cc#newcode948 net/base/net_util.cc:948: return ""; nit: return ...
9 years, 5 months ago (2011-07-26 00:10:56 UTC) #4
Randy Smith (Not in Mondays)
On 2011/07/26 00:10:56, rvargas wrote: > Who's doing the detailed review? Ricardo: If you feel ...
9 years, 5 months ago (2011-07-26 13:44:30 UTC) #5
rvargas (doing something else)
> On 2011/07/26 00:10:56, rvargas wrote: > > Who's doing the detailed review? > > ...
9 years, 5 months ago (2011-07-26 22:25:41 UTC) #6
Randy Smith (Not in Mondays)
On 2011/07/26 22:25:41, rvargas wrote: > > On 2011/07/26 00:10:56, rvargas wrote: > > > ...
9 years, 5 months ago (2011-07-27 19:07:45 UTC) #7
Randy Smith (Not in Mondays)
Control flow refactor, */browser/download/* cleanup LGTM. Thanks very much for doing this; even this first ...
9 years, 5 months ago (2011-07-27 19:46:14 UTC) #8
rvargas (doing something else)
Actually, I don't have any more comments for the unit tests. just the style thing ...
9 years, 5 months ago (2011-07-27 22:19:59 UTC) #9
asanka
http://codereview.chromium.org/7300005/diff/15006/content/browser/download/save_package.cc File content/browser/download/save_package.cc (right): http://codereview.chromium.org/7300005/diff/15006/content/browser/download/save_package.cc#newcode1270 content/browser/download/save_package.cc:1270: // made from the UI thread. On 2011/07/26 22:25:41, ...
9 years, 4 months ago (2011-07-28 20:04:38 UTC) #10
rvargas (doing something else)
http://codereview.chromium.org/7300005/diff/15006/net/base/net_util.cc File net/base/net_util.cc (right): http://codereview.chromium.org/7300005/diff/15006/net/base/net_util.cc#newcode1455 net/base/net_util.cc:1455: if (filename.empty() && default_name.empty() && On 2011/07/28 20:04:38, asanka ...
9 years, 4 months ago (2011-07-29 01:34:53 UTC) #11
asanka
On 2011/07/29 01:34:53, rvargas wrote: > It's also better to have a CL that only ...
9 years, 4 months ago (2011-07-29 13:37:42 UTC) #12
asanka
Removed logic changes, which will go into a separate CL. PTAL.
9 years, 4 months ago (2011-08-01 18:27:14 UTC) #13
rvargas (doing something else)
RBSTMP LGTM. I was expecting to see only changes inside GetSuggeestedFilename, but now there are ...
9 years, 4 months ago (2011-08-01 19:12:19 UTC) #14
asanka
The only remaining parts of the patch are mostly for moving code around and changing ...
9 years, 4 months ago (2011-08-08 18:40:18 UTC) #15
commit-bot: I haz the power
9 years, 4 months ago (2011-08-09 18:56:48 UTC) #16
Change committed as 96029

Powered by Google App Engine
This is Rietveld 408576698