| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_RENDERER_MODULE_SYSTEM_H_ | 5 #ifndef EXTENSIONS_RENDERER_MODULE_SYSTEM_H_ |
| 6 #define EXTENSIONS_RENDERER_MODULE_SYSTEM_H_ | 6 #define EXTENSIONS_RENDERER_MODULE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 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 "extensions/renderer/native_handler.h" | 17 #include "extensions/renderer/native_handler.h" |
| 17 #include "extensions/renderer/object_backed_native_handler.h" | 18 #include "extensions/renderer/object_backed_native_handler.h" |
| 18 #include "gin/modules/module_registry_observer.h" | 19 #include "gin/modules/module_registry_observer.h" |
| 19 #include "v8/include/v8.h" | 20 #include "v8/include/v8.h" |
| 20 | 21 |
| 21 namespace extensions { | 22 namespace extensions { |
| 22 | 23 |
| 23 class ScriptContext; | 24 class ScriptContext; |
| 24 | 25 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 std::vector<scoped_ptr<NativeHandler>> clobbered_native_handlers_; | 244 std::vector<scoped_ptr<NativeHandler>> clobbered_native_handlers_; |
| 244 | 245 |
| 245 base::WeakPtrFactory<ModuleSystem> weak_factory_; | 246 base::WeakPtrFactory<ModuleSystem> weak_factory_; |
| 246 | 247 |
| 247 DISALLOW_COPY_AND_ASSIGN(ModuleSystem); | 248 DISALLOW_COPY_AND_ASSIGN(ModuleSystem); |
| 248 }; | 249 }; |
| 249 | 250 |
| 250 } // namespace extensions | 251 } // namespace extensions |
| 251 | 252 |
| 252 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_H_ | 253 #endif // EXTENSIONS_RENDERER_MODULE_SYSTEM_H_ |
| OLD | NEW |