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

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

Issue 11418005: Get a minimal unit_tests target building and running for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@chrome-gyp-ios-support
Patch Set: Better ifdefing in chrome_paths Created 8 years, 1 month 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 | « chrome/common/chrome_content_client_ios.mm ('k') | chrome/common/chrome_paths.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_H__ 5 #ifndef CHROME_COMMON_CHROME_PATHS_H__
6 #define CHROME_COMMON_CHROME_PATHS_H__ 6 #define CHROME_COMMON_CHROME_PATHS_H__
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 // This file declares path keys for the chrome module. These can be used with 10 // This file declares path keys for the chrome module. These can be used with
(...skipping 24 matching lines...) Expand all
35 // "My Documents/Downloads", (Windows) or 35 // "My Documents/Downloads", (Windows) or
36 // "Downloads". (Linux) 36 // "Downloads". (Linux)
37 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. 37 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads.
38 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. 38 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside.
39 #if defined(OS_POSIX) && !defined(OS_MACOSX) 39 #if defined(OS_POSIX) && !defined(OS_MACOSX)
40 DIR_POLICY_FILES, // Directory for system-wide read-only 40 DIR_POLICY_FILES, // Directory for system-wide read-only
41 // policy files that allow sys-admins 41 // policy files that allow sys-admins
42 // to set policies for chrome. This directory 42 // to set policies for chrome. This directory
43 // contains subdirectories. 43 // contains subdirectories.
44 #endif 44 #endif
45 #if defined(OS_MACOSX) 45 #if defined(OS_MACOSX) && !defined(OS_IOS)
46 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist 46 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist
47 // files for the current user. 47 // files for the current user.
48 #endif 48 #endif
49 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) 49 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(OS_IOS))
50 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions 50 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
51 // on Chrome Mac. On Chrome OS, this path is 51 // on Chrome Mac. On Chrome OS, this path is
52 // used for OEM customization. 52 // used for OEM customization.
53 // Getting this path does not create it. 53 // Getting this path does not create it.
54 #endif 54 #endif
55 55
56 #if defined(OS_LINUX) 56 #if defined(OS_LINUX)
57 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' 57 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
58 // definition manifest files that 58 // definition manifest files that
59 // describe extensions which are to be 59 // describe extensions which are to be
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 PATH_END 117 PATH_END
118 }; 118 };
119 119
120 // Call once to register the provider for the path keys defined above. 120 // Call once to register the provider for the path keys defined above.
121 void RegisterPathProvider(); 121 void RegisterPathProvider();
122 122
123 } // namespace chrome 123 } // namespace chrome
124 124
125 #endif // CHROME_COMMON_CHROME_PATHS_H__ 125 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client_ios.mm ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698