| Index: services/catalog/catalog.cc
|
| diff --git a/services/catalog/catalog.cc b/services/catalog/catalog.cc
|
| index 19b088373551c99d2c1e8b8e4fe61aab08804696..6f513bf855f7058cbe847bb32aabbac497b0dbb5 100644
|
| --- a/services/catalog/catalog.cc
|
| +++ b/services/catalog/catalog.cc
|
| @@ -129,8 +129,9 @@ void Catalog::Create(const shell::Identity& remote_identity,
|
| filesystem::mojom::DirectoryRequest request) {
|
| if (!lock_table_)
|
| lock_table_ = new filesystem::LockTable;
|
| - base::FilePath resources_path =
|
| - GetPathForApplicationName(remote_identity.name());
|
| + base::FilePath resources_path(override_resource_path_);
|
| + if (resources_path.empty())
|
| + resources_path = GetPathForApplicationName(remote_identity.name());
|
| mojo::MakeStrongBinding(
|
| base::MakeUnique<filesystem::DirectoryImpl>(
|
| resources_path, scoped_refptr<filesystem::SharedTempDir>(),
|
|
|