| 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 DIR_GLOBAL_GCM_STORE, // Directory where the global GCM instance |
| 125 // stores its data. |
| 125 | 126 |
| 126 // Valid only in development environment; TODO(darin): move these | 127 // Valid only in development environment; TODO(darin): move these |
| 127 DIR_GEN_TEST_DATA, // Directory where generated test data resides. | 128 DIR_GEN_TEST_DATA, // Directory where generated test data resides. |
| 128 DIR_TEST_DATA, // Directory where unit test data resides. | 129 DIR_TEST_DATA, // Directory where unit test data resides. |
| 129 DIR_TEST_TOOLS, // Directory where unit test tools reside. | 130 DIR_TEST_TOOLS, // Directory where unit test tools reside. |
| 130 | 131 |
| 131 PATH_END | 132 PATH_END |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 // Call once to register the provider for the path keys defined above. | 135 // Call once to register the provider for the path keys defined above. |
| 135 void RegisterPathProvider(); | 136 void RegisterPathProvider(); |
| 136 | 137 |
| 137 // Get or set the invalid user data dir that was originally specified. | 138 // Get or set the invalid user data dir that was originally specified. |
| 138 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 139 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
| 139 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 140 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
| 140 | 141 |
| 141 } // namespace chrome | 142 } // namespace chrome |
| 142 | 143 |
| 143 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 144 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
| OLD | NEW |