| 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_SCRIPT_CONTEXT_SET_H_ | 5 #ifndef EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_H_ |
| 6 #define EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_H_ | 6 #define EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <set> | 10 #include <set> |
| 9 #include <string> | 11 #include <string> |
| 10 | 12 |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 13 #include "extensions/common/extension.h" | 15 #include "extensions/common/extension.h" |
| 14 #include "extensions/common/features/feature.h" | 16 #include "extensions/common/features/feature.h" |
| 15 #include "extensions/renderer/renderer_extension_registry.h" | 17 #include "extensions/renderer/renderer_extension_registry.h" |
| 16 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 17 #include "v8/include/v8.h" | 19 #include "v8/include/v8.h" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 132 |
| 131 // The set of all ScriptContexts we own. | 133 // The set of all ScriptContexts we own. |
| 132 std::set<ScriptContext*> contexts_; | 134 std::set<ScriptContext*> contexts_; |
| 133 | 135 |
| 134 DISALLOW_COPY_AND_ASSIGN(ScriptContextSet); | 136 DISALLOW_COPY_AND_ASSIGN(ScriptContextSet); |
| 135 }; | 137 }; |
| 136 | 138 |
| 137 } // namespace extensions | 139 } // namespace extensions |
| 138 | 140 |
| 139 #endif // EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_H_ | 141 #endif // EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_H_ |
| OLD | NEW |