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

Side by Side Diff: base/base_paths_mac.h

Issue 10823157: Prettify Mac names, rewrite getDisplayPath API call to focus on $HOME (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Actually works on Mac now Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/base_paths_mac.mm » ('j') | base/mac/foundation_util.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_BASE_PATHS_MAC_H_ 5 #ifndef BASE_BASE_PATHS_MAC_H_
6 #define BASE_BASE_PATHS_MAC_H_ 6 #define BASE_BASE_PATHS_MAC_H_
7 7
8 // This file declares Mac-specific path keys for the base module. 8 // This file declares Mac-specific path keys for the base module.
9 // These can be used with the PathService to access various special 9 // These can be used with the PathService to access various special
10 // directories and files. 10 // directories and files.
11 11
12 namespace base { 12 namespace base {
13 13
14 enum { 14 enum {
15 PATH_MAC_START = 200, 15 PATH_MAC_START = 200,
16 16
17 DIR_APP_DATA, // ~/Library/Application Support 17 DIR_APP_DATA, // ~/Library/Application Support
18 DIR_DESKTOP, // ~/Desktop
19 DIR_DOCUMENTS, // ~/Documents
20 DIR_DOWNLOADS, // ~/Downloads
18 21
19 PATH_MAC_END 22 PATH_MAC_END
20 }; 23 };
21 24
22 } // namespace base 25 } // namespace base
23 26
24 #endif // BASE_BASE_PATHS_MAC_H_ 27 #endif // BASE_BASE_PATHS_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | base/base_paths_mac.mm » ('j') | base/mac/foundation_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698