This updates the getDisplayPath fileSystem API call to focus more on prettifying the user's home directory: this seems to be the main obvious use of function for now (it's previous extensibility was probably needless).
Additionally, this adds code specifically to prettify Mac path names, which have various possibilities for prettifying through localization, but are singly exposed via the LSCopyDisplayNameForRef call.
Basically, on a Mac, folders that end with ".localized" or ".app" can be localized due to their contents (e.g., they may have a name for English, and another for German). Additionally, folders directly within your home directory may be localized by your system language settings (again, perhaps you're set to non-English). These folders do not change their actual name on disk, but within Finder/etc, they appear differently.
BUG=
135690
Committed:
http://src.chromium.org/viewvc/chrome?view=rev&revision=157043