OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 GIN_MODULES_MODULE_REGISTRY_H_ | 5 #ifndef GIN_MODULES_MODULE_REGISTRY_H_ |
6 #define GIN_MODULES_MODULE_REGISTRY_H_ | 6 #define GIN_MODULES_MODULE_REGISTRY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
17 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
18 #include "gin/gin_export.h" | 19 #include "gin/gin_export.h" |
19 #include "v8/include/v8.h" | 20 #include "v8/include/v8.h" |
20 | 21 |
21 namespace gin { | 22 namespace gin { |
22 | 23 |
23 class ModuleRegistryObserver; | 24 class ModuleRegistryObserver; |
24 struct PendingModule; | 25 struct PendingModule; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 v8::Persistent<v8::Object> modules_; | 101 v8::Persistent<v8::Object> modules_; |
101 | 102 |
102 base::ObserverList<ModuleRegistryObserver> observer_list_; | 103 base::ObserverList<ModuleRegistryObserver> observer_list_; |
103 | 104 |
104 DISALLOW_COPY_AND_ASSIGN(ModuleRegistry); | 105 DISALLOW_COPY_AND_ASSIGN(ModuleRegistry); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace gin | 108 } // namespace gin |
108 | 109 |
109 #endif // GIN_MODULES_MODULE_REGISTRY_H_ | 110 #endif // GIN_MODULES_MODULE_REGISTRY_H_ |
OLD | NEW |