Index: services/catalog/entry.h |
diff --git a/services/catalog/entry.h b/services/catalog/entry.h |
index 3e4359268adcea1226145d989c96d0a40aa47560..03d1ce9aaf1dda730422cf4ffa9b0818d11ad5c0 100644 |
--- a/services/catalog/entry.h |
+++ b/services/catalog/entry.h |
@@ -16,7 +16,6 @@ |
#include "services/service_manager/public/interfaces/resolver.mojom.h" |
namespace base { |
-class DictionaryValue; |
class Value; |
} |
@@ -29,8 +28,6 @@ class Entry { |
explicit Entry(const std::string& name); |
~Entry(); |
- std::unique_ptr<base::DictionaryValue> Serialize() const; |
- |
static std::unique_ptr<Entry> Deserialize(const base::Value& manifest_root); |
bool ProvidesCapability(const std::string& capability) const; |
@@ -67,11 +64,18 @@ class Entry { |
return interface_provider_specs_; |
} |
+ void AddRequiredFileDescritor(const std::string& name, |
+ const std::string& path); |
+ const std::map<std::string, std::string>& required_file_paths() const { |
+ return required_file_paths_; |
+ } |
+ |
private: |
std::string name_; |
base::FilePath path_; |
std::string display_name_; |
service_manager::InterfaceProviderSpecMap interface_provider_specs_; |
+ std::map<std::string, std::string> required_file_paths_; |
const Entry* parent_ = nullptr; |
std::vector<std::unique_ptr<Entry>> children_; |