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

Unified Diff: services/catalog/store.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/reader.cc ('k') | services/catalog/store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/store.h
diff --git a/services/catalog/store.h b/services/catalog/store.h
index 5fe92c08513082d22b1a456e3351e851c1f679e7..e563b2cbf24adbf8ffdc963ceac1d2de46e778c5 100644
--- a/services/catalog/store.h
+++ b/services/catalog/store.h
@@ -11,7 +11,7 @@
namespace catalog {
-// Implemented by an object that provides storage for the application catalog
+// Implemented by an object that provides storage for the service catalog
// (e.g. in Chrome, preferences). The Catalog is the canonical owner of the
// contents of the store, so no one else must modify its contents.
class Store {
@@ -35,18 +35,18 @@ class Store {
// Value is a list.
static const char kCapabilities_InterfacesKey[];
// Value is a list.
- static const char kApplicationsKey[];
+ static const char kServicesKey[];
virtual ~Store() {}
// Called during initialization to construct the Catalog's catalog.
- // Returns a serialized list of the apps. Each entry in the returned list
+ // Returns a serialized list of the services. Each entry in the returned list
// corresponds to an app (as a dictionary). Each dictionary has a name,
// display name and capabilities. The return value is owned by the caller.
virtual const base::ListValue* GetStore() = 0;
// Write the catalog to the store. Called when the Catalog learns of a newly
- // encountered application.
+ // encountered service.
virtual void UpdateStore(std::unique_ptr<base::ListValue> store) = 0;
};
« no previous file with comments | « services/catalog/reader.cc ('k') | services/catalog/store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698