| Index: services/catalog/catalog.h
|
| diff --git a/services/catalog/catalog.h b/services/catalog/catalog.h
|
| index 7afced34b8ff0ac07c1c2cded4bca51ab7eb4a34..345b85baf7e75946e655ce0194ad010631d89941 100644
|
| --- a/services/catalog/catalog.h
|
| +++ b/services/catalog/catalog.h
|
| @@ -9,6 +9,7 @@
|
| #include <memory>
|
| #include <string>
|
|
|
| +#include "base/files/file_path.h"
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "components/filesystem/public/interfaces/directory.mojom.h"
|
| @@ -57,6 +58,11 @@ class Catalog : public shell::Service,
|
|
|
| shell::mojom::ServicePtr TakeService();
|
|
|
| + void set_override_resource_path(
|
| + const base::FilePath::StringType& resource_path) {
|
| + override_resource_path_ = resource_path;
|
| + }
|
| +
|
| private:
|
| explicit Catalog(std::unique_ptr<Store> store);
|
|
|
| @@ -94,6 +100,7 @@ class Catalog : public shell::Service,
|
| EntryCache system_cache_;
|
| bool loaded_ = false;
|
|
|
| + base::FilePath::StringType override_resource_path_;
|
| scoped_refptr<filesystem::LockTable> lock_table_;
|
|
|
| base::WeakPtrFactory<Catalog> weak_factory_;
|
|
|