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 25 matching lines...) Expand all Loading... |
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) && !defined(OS_IOS) | 45 #if defined(OS_MACOSX) && !defined(OS_IOS) |
46 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist | |
47 // files for the current user. | |
48 DIR_USER_APPLICATIONS, // ~/Applications | 46 DIR_USER_APPLICATIONS, // ~/Applications |
49 DIR_USER_LIBRARY, // ~/Library | 47 DIR_USER_LIBRARY, // ~/Library |
50 #endif | 48 #endif |
51 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(OS_IOS)) | 49 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(OS_IOS)) |
52 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions | 50 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions |
53 // on Chrome Mac. On Chrome OS, this path is | 51 // on Chrome Mac. On Chrome OS, this path is |
54 // used for OEM customization. | 52 // used for OEM customization. |
55 // Getting this path does not create it. | 53 // Getting this path does not create it. |
56 #endif | 54 #endif |
57 | 55 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // Call once to register the provider for the path keys defined above. | 132 // Call once to register the provider for the path keys defined above. |
135 void RegisterPathProvider(); | 133 void RegisterPathProvider(); |
136 | 134 |
137 // Get or set the invalid user data dir that was originally specified. | 135 // Get or set the invalid user data dir that was originally specified. |
138 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 136 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
139 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 137 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
140 | 138 |
141 } // namespace chrome | 139 } // namespace chrome |
142 | 140 |
143 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 141 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |