Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1413)

Unified Diff: services/catalog/entry.h

Issue 2684433003: Files required by a service now listed in manifest. (Closed)
Patch Set: Removed unused method in apk_assets Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
dcheng 2017/02/15 08:05:27 Nit: AddRequiredFileDescriptor
Jay Civelli 2017/02/15 19:53:48 Renamed to AddRequiredFilePath.
+ 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_;

Powered by Google App Engine
This is Rietveld 408576698