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

Issue 9484003: Cleanup: Deprecate wstring version of file_util::CopyDirectory(). (Closed)

Created:
8 years, 10 months ago by Lei Zhang
Modified:
8 years, 9 months ago
Reviewers:
brettw, Peter Kasting
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Cleanup: Deprecate wstring version of file_util::CopyDirectory(). BUG=24672 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124819

Patch Set 1 : #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -46 lines) Patch
M base/file_util.cc View 1 2 chunks +1 line, -16 lines 0 comments Download
M base/file_util_deprecated.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M base/file_util_unittest.cc View 1 6 chunks +7 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/select_file_dialog_win.cc View 1 6 chunks +17 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lei Zhang
http://codereview.chromium.org/9484003/diff/30001/base/file_util.cc File base/file_util.cc (left): http://codereview.chromium.org/9484003/diff/30001/base/file_util.cc#oldcode403 base/file_util.cc:403: bool Delete(const std::wstring& path, bool recursive) { This should ...
8 years, 9 months ago (2012-03-02 03:06:39 UTC) #1
brettw
lgtm
8 years, 9 months ago (2012-03-02 05:32:45 UTC) #2
Lei Zhang
pkasting: OWNERS review for select_file_dialog_win.cc.
8 years, 9 months ago (2012-03-02 06:27:57 UTC) #3
Peter Kasting
LGTM http://codereview.chromium.org/9484003/diff/30001/chrome/browser/ui/views/select_file_dialog_win.cc File chrome/browser/ui/views/select_file_dialog_win.cc (right): http://codereview.chromium.org/9484003/diff/30001/chrome/browser/ui/views/select_file_dialog_win.cc#newcode36 chrome/browser/ui/views/select_file_dialog_win.cc:36: size_t len = extension.length(); Nit: Simpler: DCHECK(extension.empty() || ...
8 years, 9 months ago (2012-03-02 18:11:58 UTC) #4
Lei Zhang
http://codereview.chromium.org/9484003/diff/30001/chrome/browser/ui/views/select_file_dialog_win.cc File chrome/browser/ui/views/select_file_dialog_win.cc (right): http://codereview.chromium.org/9484003/diff/30001/chrome/browser/ui/views/select_file_dialog_win.cc#newcode36 chrome/browser/ui/views/select_file_dialog_win.cc:36: size_t len = extension.length(); On 2012/03/02 18:11:58, Peter Kasting ...
8 years, 9 months ago (2012-03-02 22:54:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/9484003/42001
8 years, 9 months ago (2012-03-02 22:55:00 UTC) #6
commit-bot: I haz the power
8 years, 9 months ago (2012-03-02 22:55:03 UTC) #7
Presubmit check for 9484003-42001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
New code should not use wstrings.  If you are calling an API that accepts a
wstring, fix the API.
    chrome/browser/ui/views/select_file_dialog_win.cc:35
    chrome/browser/ui/views/select_file_dialog_win.cc:63
    chrome/browser/ui/views/select_file_dialog_win.cc:259

Presubmit checks took 1.2s to calculate.

Powered by Google App Engine
This is Rietveld 408576698