| Index: chromeos/chromeos_paths.cc
|
| diff --git a/chromeos/chromeos_paths.cc b/chromeos/chromeos_paths.cc
|
| index a9963affe335654e38df140c71d496dfbebd4af2..f629c45c1773201a64f70ccccbd7cd9c3b5801b1 100644
|
| --- a/chromeos/chromeos_paths.cc
|
| +++ b/chromeos/chromeos_paths.cc
|
| @@ -41,6 +41,9 @@ const base::FilePath::CharType kDeviceLocalAccountExtensionDir[] =
|
| const base::FilePath::CharType kDeviceLocalAccountExternalDataDir[] =
|
| FILE_PATH_LITERAL("/var/cache/device_local_account_external_policy_data");
|
|
|
| +const base::FilePath::CharType kDeviceLocalAccountComponentPolicy[] =
|
| + FILE_PATH_LITERAL("/var/cache/device_local_account_component_policy");
|
| +
|
| bool PathProvider(int key, base::FilePath* result) {
|
| switch (key) {
|
| case FILE_DEFAULT_APP_ORDER:
|
| @@ -67,6 +70,9 @@ bool PathProvider(int key, base::FilePath* result) {
|
| case DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA:
|
| *result = base::FilePath(kDeviceLocalAccountExternalDataDir);
|
| break;
|
| + case DIR_DEVICE_LOCAL_ACCOUNT_COMPONENT_POLICY:
|
| + *result = base::FilePath(kDeviceLocalAccountComponentPolicy);
|
| + break;
|
| default:
|
| return false;
|
| }
|
| @@ -99,6 +105,15 @@ void RegisterStubPathOverrides(const base::FilePath& stubs_dir) {
|
| parent.AppendASCII("stub_install_attributes.pb"),
|
| is_absolute,
|
| create);
|
| + PathService::Override(
|
| + DIR_DEVICE_LOCAL_ACCOUNT_EXTENSIONS,
|
| + parent.AppendASCII("stub_device_local_account_extensions"));
|
| + PathService::Override(
|
| + DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA,
|
| + parent.AppendASCII("stub_device_local_account_external_data"));
|
| + PathService::Override(
|
| + DIR_DEVICE_LOCAL_ACCOUNT_COMPONENT_POLICY,
|
| + parent.AppendASCII("stub_device_local_account_component_policy"));
|
| }
|
|
|
| } // namespace chromeos
|
|
|