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

Unified Diff: services/catalog/entry.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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
« no previous file with comments | « services/catalog/catalog.cc ('k') | services/catalog/entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/entry.h
diff --git a/services/catalog/entry.h b/services/catalog/entry.h
index 769f0afd10f10390a1da047cb7b20b6c6f0385e8..fc4b714148c899b23d2be6a05cc37c1dc8633a55 100644
--- a/services/catalog/entry.h
+++ b/services/catalog/entry.h
@@ -49,8 +49,10 @@ class Entry {
void set_display_name(const std::string& display_name) {
display_name_ = display_name;
}
- const shell::CapabilitySpec& capabilities() const { return capabilities_; }
- void set_capabilities(const shell::CapabilitySpec& capabilities) {
+ const service_manager::CapabilitySpec& capabilities() const {
+ return capabilities_;
+ }
+ void set_capabilities(const service_manager::CapabilitySpec& capabilities) {
capabilities_ = capabilities;
}
const Entry* package() const { return package_; }
@@ -65,7 +67,7 @@ class Entry {
base::FilePath path_;
std::string qualifier_;
std::string display_name_;
- shell::CapabilitySpec capabilities_;
+ service_manager::CapabilitySpec capabilities_;
Entry* package_ = nullptr;
std::vector<std::unique_ptr<Entry>> children_;
};
@@ -74,8 +76,9 @@ class Entry {
namespace mojo {
template <>
-struct TypeConverter<shell::mojom::ResolveResultPtr, catalog::Entry> {
- static shell::mojom::ResolveResultPtr Convert(const catalog::Entry& input);
+struct TypeConverter<service_manager::mojom::ResolveResultPtr, catalog::Entry> {
+ static service_manager::mojom::ResolveResultPtr Convert(
+ const catalog::Entry& input);
};
template<>
« no previous file with comments | « services/catalog/catalog.cc ('k') | services/catalog/entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698