OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_SERVICES_CATALOG_TYPES_H_ | 5 #ifndef SERVICES_CATALOG_TYPES_H_ |
6 #define MOJO_SERVICES_CATALOG_TYPES_H_ | 6 #define SERVICES_CATALOG_TYPES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 | 12 |
13 namespace catalog { | 13 namespace catalog { |
14 | 14 |
15 class Entry; | 15 class Entry; |
16 | 16 |
17 // A map of mojo names -> catalog |Entry|s. | 17 // A map of mojo names -> catalog |Entry|s. |
18 using EntryCache = std::map<std::string, scoped_ptr<Entry>>; | 18 using EntryCache = std::map<std::string, scoped_ptr<Entry>>; |
19 | 19 |
20 } // namespace catalog | 20 } // namespace catalog |
21 | 21 |
22 #endif // MOJO_SERVICES_CATALOG_TYPES_H_ | 22 #endif // SERVICES_CATALOG_TYPES_H_ |
OLD | NEW |