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 7607013: Call GenerateSafeFilename() from GetSuggestedFilename(). (Closed)

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

Description

Call GenerateSafeFilename() from GetSuggestedFilename(). GetSuggestedFilename() would then become the only function that needs to be called to generate downloaded filenames. BUG=78085 TEST=net_unittests --gtest_filter=*Generate*FileName Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97581

Patch Set 1 #

Patch Set 2 : Catch up with NET_EXPORT changes #

Patch Set 3 : Grr. Whitespace #

Patch Set 4 : Comments #

Total comments: 7

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -111 lines) Patch
M chrome/browser/bookmarks/bookmark_utils.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/net_util.h View 1 2 3 1 chunk +30 lines, -15 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 3 chunks +85 lines, -87 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/weburlloader_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
asanka
Follow up CL to http://codereview.chromium.org/7300005/ This contains the logic changes to net::GetSuggestedFilename() so that it ...
9 years, 4 months ago (2011-08-15 18:16:34 UTC) #1
rvargas (doing something else)
LGTM http://codereview.chromium.org/7607013/diff/6001/net/base/net_util.cc File net/base/net_util.cc (right): http://codereview.chromium.org/7607013/diff/6001/net/base/net_util.cc#newcode1463 net/base/net_util.cc:1463: ReplaceSubstringsAfterOffset(&filename, 0, "/", "_"); nit: Maybe we should ...
9 years, 4 months ago (2011-08-16 22:19:59 UTC) #2
asanka
Thanks! http://codereview.chromium.org/7607013/diff/6001/net/base/net_util.cc File net/base/net_util.cc (right): http://codereview.chromium.org/7607013/diff/6001/net/base/net_util.cc#newcode1463 net/base/net_util.cc:1463: ReplaceSubstringsAfterOffset(&filename, 0, "/", "_"); On 2011/08/16 22:20:00, rvargas ...
9 years, 4 months ago (2011-08-17 16:22:00 UTC) #3
commit-bot: I haz the power
Try job failure for 7607013-10001 (retry) on mac for step "compile" (clobber build). It's a ...
9 years, 4 months ago (2011-08-19 17:59:48 UTC) #4
commit-bot: I haz the power
9 years, 4 months ago (2011-08-20 15:51:27 UTC) #5
Change committed as 97581

Powered by Google App Engine
This is Rietveld 408576698