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

Unified Diff: mojo/services/catalog/types.h

Issue 1844973002: Implement a system-level entry cache so that packages loaded from the system dir can be visible to … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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
« mojo/services/catalog/catalog.cc ('K') | « mojo/services/catalog/factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/catalog/types.h
diff --git a/mojo/services/catalog/types.h b/mojo/services/catalog/types.h
new file mode 100644
index 0000000000000000000000000000000000000000..1be44d5b06543d7f8982df58a485af3787388a80
--- /dev/null
+++ b/mojo/services/catalog/types.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOJO_SERVICES_CATALOG_TYPES_H_
+#define MOJO_SERVICES_CATALOG_TYPES_H_
+
+#include <map>
+#include <string>
+
+#include "base/memory/scoped_ptr.h"
+
+namespace catalog {
+
+class Entry;
+
+// A map of mojo names -> catalog |Entry|s.
+using EntryCache = std::map<std::string, scoped_ptr<Entry>>;
+
+} // namespace catalog
+
+#endif // MOJO_SERVICES_CATALOG_TYPES_H_
« mojo/services/catalog/catalog.cc ('K') | « mojo/services/catalog/factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698