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> | 8 #include <stddef.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "extensions/common/extension.h" | 15 #include "extensions/common/extension.h" |
16 #include "extensions/common/features/feature.h" | 16 #include "extensions/common/features/feature.h" |
17 #include "extensions/renderer/renderer_extension_registry.h" | 17 #include "extensions/renderer/renderer_extension_registry.h" |
18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
19 #include "v8/include/v8.h" | 19 #include "v8/include/v8.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 | 22 |
23 namespace base { | |
24 class ListValue; | |
25 } | |
26 | |
27 namespace blink { | 23 namespace blink { |
28 class WebLocalFrame; | 24 class WebLocalFrame; |
29 class WebSecurityOrigin; | 25 class WebSecurityOrigin; |
30 } | 26 } |
31 | 27 |
32 namespace content { | 28 namespace content { |
33 class RenderFrame; | 29 class RenderFrame; |
34 } | 30 } |
35 | 31 |
36 namespace extensions { | 32 namespace extensions { |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 135 |
140 // The set of all ScriptContexts we own. | 136 // The set of all ScriptContexts we own. |
141 std::set<ScriptContext*> contexts_; | 137 std::set<ScriptContext*> contexts_; |
142 | 138 |
143 DISALLOW_COPY_AND_ASSIGN(ScriptContextSet); | 139 DISALLOW_COPY_AND_ASSIGN(ScriptContextSet); |
144 }; | 140 }; |
145 | 141 |
146 } // namespace extensions | 142 } // namespace extensions |
147 | 143 |
148 #endif // EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_H_ | 144 #endif // EXTENSIONS_RENDERER_SCRIPT_CONTEXT_SET_H_ |
OLD | NEW |