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

Side by Side Diff: chrome/common/chrome_paths_internal.h

Issue 271094: Don't use NSBundle when unsure of thread safety (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « base/base_paths_mac.mm ('k') | chrome/common/chrome_paths_mac.mm » ('j') | no next file with comments »
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 CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ 5 #ifndef CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
6 #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ 6 #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9
10 #include "base/file_path.h" 9 #include "base/file_path.h"
11 10
12 #if defined(OS_MACOSX)
13 #ifdef __OBJC__
14 @class NSBundle;
15 #else
16 class NSBundle;
17 #endif
18 #endif
19
20 namespace chrome { 11 namespace chrome {
21 12
22 // Get the path to the user's data directory, regardless of whether 13 // Get the path to the user's data directory, regardless of whether
23 // DIR_USER_DATA has been overridden by a command-line option. 14 // DIR_USER_DATA has been overridden by a command-line option.
24 bool GetDefaultUserDataDirectory(FilePath* result); 15 bool GetDefaultUserDataDirectory(FilePath* result);
25 16
26 #if defined(OS_LINUX) 17 #if defined(OS_LINUX)
27 // Get the path to the user's cache directory. 18 // Get the path to the user's cache directory.
28 bool GetUserCacheDirectory(FilePath* result); 19 bool GetUserCacheDirectory(FilePath* result);
29 #endif 20 #endif
(...skipping 18 matching lines...) Expand all
48 // framework bundle is located within the versioned directory at a specific 39 // framework bundle is located within the versioned directory at a specific
49 // path. The only components in the versioned directory not included in the 40 // path. The only components in the versioned directory not included in the
50 // framework are things that also depend on the framework, such as the helper 41 // framework are things that also depend on the framework, such as the helper
51 // app bundle. 42 // app bundle.
52 FilePath GetFrameworkBundlePath(); 43 FilePath GetFrameworkBundlePath();
53 #endif // OS_MACOSX 44 #endif // OS_MACOSX
54 45
55 } // namespace chrome 46 } // namespace chrome
56 47
57 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ 48 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_
OLDNEW
« no previous file with comments | « base/base_paths_mac.mm ('k') | chrome/common/chrome_paths_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698