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

Issue 10693089: Prettify output from chrome.fileSystem.getDisplayPath for Windows profile directory (Closed)

Created:
8 years, 5 months ago by thorogood
Modified:
8 years, 5 months ago
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Prettify output from chrome.fileSystem.getDisplayPath for Windows profile directory Modifies the getDisplayPath to allow for replacing specific prefixes with short, relative path names. Enables this for Windows-only for now, replacing the full path to the user's profile directory with "HOME/". BUG=135690 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145650

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fixed dumb mistakes. #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 8

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 19

Patch Set 12 : #

Total comments: 3

Patch Set 13 : #

Patch Set 14 : #

Messages

Total messages: 16 (0 generated)
thorogood
8 years, 5 months ago (2012-07-05 06:08:42 UTC) #1
thorogood
Trybot now passes. :)
8 years, 5 months ago (2012-07-06 00:07:51 UTC) #2
benwells
Looking good, just a few comments / questions .... https://chromiumcodereview.appspot.com/10693089/diff/2005/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://chromiumcodereview.appspot.com/10693089/diff/2005/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode42 chrome/browser/extensions/api/file_system/file_system_api.cc:42: ...
8 years, 5 months ago (2012-07-06 00:34:35 UTC) #3
thorogood
Sorry for the delay. https://chromiumcodereview.appspot.com/10693089/diff/2005/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://chromiumcodereview.appspot.com/10693089/diff/2005/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode42 chrome/browser/extensions/api/file_system/file_system_api.cc:42: /*struct RewritePair { On 2012/07/06 ...
8 years, 5 months ago (2012-07-06 06:34:16 UTC) #4
thorogood
I've updated the code to use "~" as the prefix.
8 years, 5 months ago (2012-07-09 01:15:54 UTC) #5
benwells
lgtm, adding kalman who is an owner
8 years, 5 months ago (2012-07-09 01:35:25 UTC) #6
not at google - send to devlin
I'm not too fussed about the class thing in file_system_api.cc, but consider it. https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc File ...
8 years, 5 months ago (2012-07-09 02:07:38 UTC) #7
benwells
https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode69 chrome/browser/extensions/api/file_system/file_system_api.cc:69: } On 2012/07/09 02:07:38, kalman wrote: > TBH I ...
8 years, 5 months ago (2012-07-09 03:42:45 UTC) #8
thorogood
https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode55 chrome/browser/extensions/api/file_system/file_system_api.cc:55: void PrettifyPath(FilePath& file_path) { On 2012/07/09 02:07:38, kalman wrote: ...
8 years, 5 months ago (2012-07-09 05:12:45 UTC) #9
not at google - send to devlin
lgtm https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode55 chrome/browser/extensions/api/file_system/file_system_api.cc:55: void PrettifyPath(FilePath& file_path) { On 2012/07/09 05:12:45, thorogood ...
8 years, 5 months ago (2012-07-09 05:44:58 UTC) #10
thorogood
https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc File chrome/browser/extensions/api/file_system/file_system_api.cc (right): https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode55 chrome/browser/extensions/api/file_system/file_system_api.cc:55: void PrettifyPath(FilePath& file_path) { On 2012/07/09 05:44:58, kalman wrote: ...
8 years, 5 months ago (2012-07-09 05:58:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thorogood@chromium.org/10693089/1016
8 years, 5 months ago (2012-07-09 05:58:48 UTC) #12
thorogood
On 2012/07/09 05:58:35, thorogood wrote: > https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc > File chrome/browser/extensions/api/file_system/file_system_api.cc (right): > > https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc#newcode55 > ...
8 years, 5 months ago (2012-07-09 05:58:51 UTC) #13
thorogood
On 2012/07/09 05:58:51, thorogood wrote: > On 2012/07/09 05:58:35, thorogood wrote: > > > https://chromiumcodereview.appspot.com/10693089/diff/14002/chrome/browser/extensions/api/file_system/file_system_api.cc ...
8 years, 5 months ago (2012-07-09 07:29:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thorogood@chromium.org/10693089/1017
8 years, 5 months ago (2012-07-09 07:29:25 UTC) #15
commit-bot: I haz the power
8 years, 5 months ago (2012-07-09 08:37:19 UTC) #16
Change committed as 145650

Powered by Google App Engine
This is Rietveld 408576698