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

Issue 7057053: Escaping file names correctly. Also fixed a crush in chromeos debug build while saving a web page. (Closed)

Created:
9 years, 6 months ago by SeRya
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Erik does not do reviews, achuith+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, arv (Not doing code reviews), pam+watch_chromium.org
Visibility:
Public.

Description

Escaping file names correctly. Also fixed a crush in chromeos debug build while saving a web page. BUG=chromium-os:13130 TEST=Save a file with special characters like '#', '&', '"'. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88510

Patch Set 1 #

Patch Set 2 : Fixed opening files with spaces in their names. #

Total comments: 8

Patch Set 3 : Fixed. #

Patch Set 4 : Removed debugging code. #

Total comments: 2

Patch Set 5 : Removed default arg. #

Total comments: 2

Patch Set 6 : Fixed test style. #

Patch Set 7 : Missed fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -38 lines) Patch
M chrome/browser/chromeos/status/network_menu.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/file_manager_util.cc View 1 2 6 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 3 4 5 chunks +32 lines, -4 lines 0 comments Download
M chrome/browser/sync/engine/net/url_translator.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/gaia/gaia_auth_fetcher.cc View 1 2 3 4 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/common/net/gaia/gaia_authenticator.cc View 1 2 3 4 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/common/net/gaia/gaia_oauth_client.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M net/base/escape.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M net/base/escape.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M net/base/escape_unittest.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
SeRya
This CL makes possible to save a file with special characters (including '#') and open ...
9 years, 6 months ago (2011-06-01 12:45:20 UTC) #1
rginda
http://codereview.chromium.org/7057053/diff/1001/chrome/browser/extensions/file_manager_util.cc File chrome/browser/extensions/file_manager_util.cc (right): http://codereview.chromium.org/7057053/diff/1001/chrome/browser/extensions/file_manager_util.cc#newcode20 chrome/browser/extensions/file_manager_util.cc:20: #include "third_party/libjingle/source/talk/base/urlencode.h" libjingle has a UrlEncodeStringWithoutEncodingSpaceAsPlus() function which is ...
9 years, 6 months ago (2011-06-01 16:53:51 UTC) #2
SeRya
http://codereview.chromium.org/7057053/diff/1001/chrome/browser/extensions/file_manager_util.cc File chrome/browser/extensions/file_manager_util.cc (right): http://codereview.chromium.org/7057053/diff/1001/chrome/browser/extensions/file_manager_util.cc#newcode20 chrome/browser/extensions/file_manager_util.cc:20: #include "third_party/libjingle/source/talk/base/urlencode.h" On 2011/06/01 16:53:51, rginda wrote: > libjingle ...
9 years, 6 months ago (2011-06-02 08:42:40 UTC) #3
rginda
LGTM
9 years, 6 months ago (2011-06-03 17:39:01 UTC) #4
commit-bot: I haz the power
Presubmit check for 7057053-12001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-06 13:05:05 UTC) #5
SeRya
Needs owner's review.
9 years, 6 months ago (2011-06-06 13:15:57 UTC) #6
ahendrickson
Please fix the nit. Also, recommend adding either mrossetti or pkasting to the reviewers list ...
9 years, 6 months ago (2011-06-06 15:29:51 UTC) #7
SeRya
http://codereview.chromium.org/7057053/diff/12001/net/base/escape.h File net/base/escape.h (right): http://codereview.chromium.org/7057053/diff/12001/net/base/escape.h#newcode27 net/base/escape.h:27: bool use_plus = true); On 2011/06/06 15:29:51, ahendrickson wrote: ...
9 years, 6 months ago (2011-06-07 12:16:04 UTC) #8
ahendrickson
LGTM, pending review by either mrossetti or pkasting.
9 years, 6 months ago (2011-06-07 15:06:38 UTC) #9
Peter Kasting
LGTM http://codereview.chromium.org/7057053/diff/13002/net/base/escape_unittest.cc File net/base/escape_unittest.cc (right): http://codereview.chromium.org/7057053/diff/13002/net/base/escape_unittest.cc#newcode159 net/base/escape_unittest.cc:159: ASSERT_EQ( Nit: This indenting is bizarre. Just do: ...
9 years, 6 months ago (2011-06-07 18:08:42 UTC) #10
SeRya
http://codereview.chromium.org/7057053/diff/13002/net/base/escape_unittest.cc File net/base/escape_unittest.cc (right): http://codereview.chromium.org/7057053/diff/13002/net/base/escape_unittest.cc#newcode159 net/base/escape_unittest.cc:159: ASSERT_EQ( On 2011/06/07 18:08:43, Peter Kasting wrote: > Nit: ...
9 years, 6 months ago (2011-06-08 12:24:27 UTC) #11
commit-bot: I haz the power
Presubmit check for 7057053-27001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-08 12:25:16 UTC) #12
SeRya
Needed owner's review for chrome/browser/sync/...
9 years, 6 months ago (2011-06-08 12:36:10 UTC) #13
Rick Campbell
On 2011/06/08 12:36:10, SeRya wrote: > Needed owner's review for chrome/browser/sync/... Could I get some ...
9 years, 6 months ago (2011-06-08 16:24:29 UTC) #14
Rick Campbell
On 2011/06/08 16:24:29, Rick Campbell wrote: > On 2011/06/08 12:36:10, SeRya wrote: > > Needed ...
9 years, 6 months ago (2011-06-08 16:29:20 UTC) #15
rginda
On 2011/06/08 16:24:29, Rick Campbell wrote: > On 2011/06/08 12:36:10, SeRya wrote: > > Needed ...
9 years, 6 months ago (2011-06-08 16:37:34 UTC) #16
commit-bot: I haz the power
9 years, 6 months ago (2011-06-09 08:35:10 UTC) #17
Change committed as 88510

Powered by Google App Engine
This is Rietveld 408576698