Chromium Code Reviews| 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 25 matching lines...) Expand all Loading... | |
| 36 // maintained for each device-local | 36 // maintained for each device-local |
| 37 // account. | 37 // account. |
| 38 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data | 38 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data |
| 39 // referenced by policies is cached | 39 // referenced by policies is cached |
| 40 // for device-local accounts. | 40 // for device-local accounts. |
| 41 DIR_DEVICE_LOCAL_ACCOUNT_COMPONENT_POLICY, // Directory where policy for | 41 DIR_DEVICE_LOCAL_ACCOUNT_COMPONENT_POLICY, // Directory where policy for |
| 42 // components is stored for | 42 // components is stored for |
| 43 // device-local accounts. | 43 // device-local accounts. |
| 44 // Currently this is used for | 44 // Currently this is used for |
| 45 // policy for extensions. | 45 // policy for extensions. |
| 46 DIR_SHARED_ASSETS, // Directory where shared Chrome OS assets are kept. | |
|
michaelpg
2014/12/05 09:44:43
Is it OK to add this here?
| |
| 46 PATH_END | 47 PATH_END |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 // Call once to register the provider for the path keys defined above. | 50 // Call once to register the provider for the path keys defined above. |
| 50 CHROMEOS_EXPORT void RegisterPathProvider(); | 51 CHROMEOS_EXPORT void RegisterPathProvider(); |
| 51 | 52 |
| 52 // Overrides some of the paths listed above so that those files can be used | 53 // Overrides some of the paths listed above so that those files can be used |
| 53 // when not running on ChromeOS. The stubs files will be relative to | 54 // when not running on ChromeOS. The stubs files will be relative to |
| 54 // |stubs_dir|. It is not valid to call this when running on ChromeOS. | 55 // |stubs_dir|. It is not valid to call this when running on ChromeOS. |
| 55 CHROMEOS_EXPORT void RegisterStubPathOverrides(const base::FilePath& stubs_dir); | 56 CHROMEOS_EXPORT void RegisterStubPathOverrides(const base::FilePath& stubs_dir); |
| 56 | 57 |
| 57 } // namespace chromeos | 58 } // namespace chromeos |
| 58 | 59 |
| 59 #endif // CHROMEOS_CHROMEOS_PATHS_H_ | 60 #endif // CHROMEOS_CHROMEOS_PATHS_H_ |
| OLD | NEW |