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 22 matching lines...) Expand all Loading... |
33 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. | 33 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. |
34 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". | 34 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". |
35 DIR_USER_MUSIC, // Directory for a user's music. | 35 DIR_USER_MUSIC, // Directory for a user's music. |
36 DIR_USER_PICTURES, // Directory for a user's pictures. | 36 DIR_USER_PICTURES, // Directory for a user's pictures. |
37 DIR_USER_VIDEOS, // Directory for a user's videos. | 37 DIR_USER_VIDEOS, // Directory for a user's videos. |
38 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's | 38 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's |
39 // "My Documents/Downloads", (Windows) or | 39 // "My Documents/Downloads", (Windows) or |
40 // "Downloads". (Linux) | 40 // "Downloads". (Linux) |
41 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. | 41 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. |
42 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. | 42 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. |
| 43 DIR_COMPONENTS, // Directory where built-in implementations of |
| 44 // component-updated libraries or data reside. |
43 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 45 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
44 DIR_POLICY_FILES, // Directory for system-wide read-only | 46 DIR_POLICY_FILES, // Directory for system-wide read-only |
45 // policy files that allow sys-admins | 47 // policy files that allow sys-admins |
46 // to set policies for chrome. This directory | 48 // to set policies for chrome. This directory |
47 // contains subdirectories. | 49 // contains subdirectories. |
48 #endif | 50 #endif |
49 #if defined(OS_CHROMEOS) || (defined(OS_LINUX) && defined(CHROMIUM_BUILD)) || \ | 51 #if defined(OS_CHROMEOS) || (defined(OS_LINUX) && defined(CHROMIUM_BUILD)) || \ |
50 defined(OS_MACOSX) | 52 defined(OS_MACOSX) |
51 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions | 53 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions |
52 // on Chrome Mac and Chromium Linux. | 54 // on Chrome Mac and Chromium Linux. |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // 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. |
136 void RegisterPathProvider(); | 138 void RegisterPathProvider(); |
137 | 139 |
138 // 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. |
139 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 141 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
140 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 142 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
141 | 143 |
142 } // namespace chrome | 144 } // namespace chrome |
143 | 145 |
144 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 146 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |