OLD | NEW |
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 namespace base { | 10 namespace base { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 DIR_CHROMEOS_WALLPAPERS, // Directory where downloaded chromeos | 108 DIR_CHROMEOS_WALLPAPERS, // Directory where downloaded chromeos |
109 // wallpapers reside. | 109 // wallpapers reside. |
110 DIR_CHROMEOS_WALLPAPER_THUMBNAILS, // Directory where downloaded chromeos | 110 DIR_CHROMEOS_WALLPAPER_THUMBNAILS, // Directory where downloaded chromeos |
111 // wallpaper thumbnails reside. | 111 // wallpaper thumbnails reside. |
112 DIR_CHROMEOS_CUSTOM_WALLPAPERS, // Directory where custom wallpapers | 112 DIR_CHROMEOS_CUSTOM_WALLPAPERS, // Directory where custom wallpapers |
113 // reside. | 113 // reside. |
114 #endif | 114 #endif |
115 DIR_MANAGED_USERS_DEFAULT_APPS, // Directory where installer places .crx | 115 DIR_MANAGED_USERS_DEFAULT_APPS, // Directory where installer places .crx |
116 // files to be installed when managed user | 116 // files to be installed when managed user |
117 // session starts. | 117 // session starts. |
118 | |
119 #if defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS)) | 118 #if defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS)) |
120 DIR_NATIVE_MESSAGING, // System directory where native messaging host | 119 DIR_NATIVE_MESSAGING, // System directory where native messaging host |
121 // manifest files are stored. | 120 // manifest files are stored. |
122 DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts | 121 DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts |
123 // installed per-user. | 122 // installed per-user. |
124 #endif | 123 #endif |
| 124 #if !defined(OS_ANDROID) |
| 125 DIR_GLOBAL_GCM_STORE, // Directory where the global GCM instance |
| 126 // stores its data. |
| 127 #endif |
125 | 128 |
126 // Valid only in development environment; TODO(darin): move these | 129 // Valid only in development environment; TODO(darin): move these |
127 DIR_GEN_TEST_DATA, // Directory where generated test data resides. | 130 DIR_GEN_TEST_DATA, // Directory where generated test data resides. |
128 DIR_TEST_DATA, // Directory where unit test data resides. | 131 DIR_TEST_DATA, // Directory where unit test data resides. |
129 DIR_TEST_TOOLS, // Directory where unit test tools reside. | 132 DIR_TEST_TOOLS, // Directory where unit test tools reside. |
130 | 133 |
131 PATH_END | 134 PATH_END |
132 }; | 135 }; |
133 | 136 |
134 // Call once to register the provider for the path keys defined above. | 137 // Call once to register the provider for the path keys defined above. |
135 void RegisterPathProvider(); | 138 void RegisterPathProvider(); |
136 | 139 |
137 // Get or set the invalid user data dir that was originally specified. | 140 // Get or set the invalid user data dir that was originally specified. |
138 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 141 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
139 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 142 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
140 | 143 |
141 } // namespace chrome | 144 } // namespace chrome |
142 | 145 |
143 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 146 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |