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

Unified Diff: services/catalog/catalog.h

Issue 2611183006: Service Manager: Miscellaneous catalog cleanup (Closed)
Patch Set: Created 3 years, 11 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/catalog.h
diff --git a/services/catalog/catalog.h b/services/catalog/catalog.h
index 691139c8341882e2a5f7c743e6a73f07969e043d..0913895961db3aba39afea8b26df77424b99f832 100644
--- a/services/catalog/catalog.h
+++ b/services/catalog/catalog.h
@@ -15,7 +15,6 @@
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/catalog/public/interfaces/catalog.mojom.h"
-#include "services/catalog/types.h"
#include "services/service_manager/public/cpp/interface_factory.h"
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/interfaces/resolver.mojom.h"
@@ -37,6 +36,7 @@ class ServiceContext;
namespace catalog {
+class EntryCache;
class Instance;
class ManifestProvider;
class Reader;
@@ -111,7 +111,7 @@ class Catalog
std::map<std::string, std::unique_ptr<Instance>> instances_;
std::unique_ptr<Reader> system_reader_;
- EntryCache system_cache_;
+ const std::unique_ptr<EntryCache> system_cache_;
bool loaded_ = false;
scoped_refptr<filesystem::LockTable> lock_table_;

Powered by Google App Engine
This is Rietveld 408576698