OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROMEOS_CHROMEOS_PATHS_H_ | 5 #ifndef CHROMEOS_CHROMEOS_PATHS_H_ |
6 #define CHROMEOS_CHROMEOS_PATHS_H_ | 6 #define CHROMEOS_CHROMEOS_PATHS_H_ |
7 | 7 |
8 #include "chromeos/chromeos_export.h" | 8 #include "chromeos/chromeos_export.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
(...skipping 26 matching lines...) Expand all Loading... |
37 // maintained for each device-local | 37 // maintained for each device-local |
38 // account. | 38 // account. |
39 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data | 39 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data |
40 // referenced by policies is cached | 40 // referenced by policies is cached |
41 // for device-local accounts. | 41 // for device-local accounts. |
42 DIR_DEVICE_LOCAL_ACCOUNT_COMPONENT_POLICY, // Directory where policy for | 42 DIR_DEVICE_LOCAL_ACCOUNT_COMPONENT_POLICY, // Directory where policy for |
43 // components is stored for | 43 // components is stored for |
44 // device-local accounts. | 44 // device-local accounts. |
45 // Currently this is used for | 45 // Currently this is used for |
46 // policy for extensions. | 46 // policy for extensions. |
| 47 DIR_DEVICE_DISPLAY_PROFILES, // Directory where system display profiles |
| 48 // are downloaded to from Quirks Server. |
47 DIR_DEVICE_COLOR_CALIBRATION_PROFILES, // Directory where system color | 49 DIR_DEVICE_COLOR_CALIBRATION_PROFILES, // Directory where system color |
48 // calibration files can be found. | 50 // calibration files can be found. |
49 DIR_DEVICE_EXTENSION_LOCAL_CACHE, // Directory where extension local cache | 51 DIR_DEVICE_EXTENSION_LOCAL_CACHE, // Directory where extension local cache |
50 // is stored. | 52 // is stored. |
51 PATH_END | 53 PATH_END |
52 }; | 54 }; |
53 | 55 |
54 // Call once to register the provider for the path keys defined above. | 56 // Call once to register the provider for the path keys defined above. |
55 CHROMEOS_EXPORT void RegisterPathProvider(); | 57 CHROMEOS_EXPORT void RegisterPathProvider(); |
56 | 58 |
57 // Overrides some of the paths listed above so that those files can be used | 59 // Overrides some of the paths listed above so that those files can be used |
58 // when not running on ChromeOS. The stubs files will be relative to | 60 // when not running on ChromeOS. The stubs files will be relative to |
59 // |stubs_dir|. It is not valid to call this when running on ChromeOS. | 61 // |stubs_dir|. It is not valid to call this when running on ChromeOS. |
60 CHROMEOS_EXPORT void RegisterStubPathOverrides(const base::FilePath& stubs_dir); | 62 CHROMEOS_EXPORT void RegisterStubPathOverrides(const base::FilePath& stubs_dir); |
61 | 63 |
62 } // namespace chromeos | 64 } // namespace chromeos |
63 | 65 |
64 #endif // CHROMEOS_CHROMEOS_PATHS_H_ | 66 #endif // CHROMEOS_CHROMEOS_PATHS_H_ |
OLD | NEW |