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

Unified Diff: services/catalog/entry.h

Issue 2164503006: Rename mojo_application GN templates to service* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/BUILD.gn ('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 b7bdfff6ff009651f6d352b7f5ecb65c849c7931..74c302239995a7a9ed9b20de98a385ccfbe7b381 100644
--- a/services/catalog/entry.h
+++ b/services/catalog/entry.h
@@ -19,7 +19,7 @@ class DictionaryValue;
namespace catalog {
-// Static information about an application package known to the Catalog.
+// Static information about a service package known to the Catalog.
class Entry {
public:
Entry();
@@ -31,7 +31,7 @@ class Entry {
// If the constructed Entry is a package that provides other Entrys, the
// caller must assume ownership of the tree of Entrys by enumerating
- // applications().
+ // services().
static std::unique_ptr<Entry> Deserialize(const base::DictionaryValue& value);
bool ProvidesClass(const std::string& clazz) const;
@@ -55,7 +55,7 @@ class Entry {
}
const Entry* package() const { return package_; }
void set_package(Entry* package) { package_ = package; }
- const std::set<Entry*>& applications() { return applications_; }
+ const std::set<Entry*>& services() { return services_; }
private:
std::string name_;
@@ -64,7 +64,7 @@ class Entry {
std::string display_name_;
shell::CapabilitySpec capabilities_;
Entry* package_ = nullptr;
- std::set<Entry*> applications_;
+ std::set<Entry*> services_;
};
} // namespace catalog
« no previous file with comments | « services/catalog/BUILD.gn ('k') | services/catalog/entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698