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 CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_ | 5 #ifndef CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_ |
6 #define CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_ | 6 #define CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "gin/modules/module_registry_observer.h" | 14 #include "gin/modules/module_registry_observer.h" |
15 #include "v8/include/v8.h" | 15 #include "v8/include/v8.h" |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 class WebFrame; | 18 class WebFrame; |
19 class WebURLResponse; | 19 class WebURLResponse; |
20 } | 20 } |
21 | 21 |
22 namespace gin { | 22 namespace gin { |
23 class ContextHolder; | |
24 struct PendingModule; | 23 struct PendingModule; |
25 } | 24 } |
26 | 25 |
27 namespace content { | 26 namespace content { |
28 | 27 |
29 class ResourceFetcher; | 28 class ResourceFetcher; |
30 class MojoMainRunner; | 29 class MojoMainRunner; |
31 enum class MojoBindingsType; | 30 enum class MojoBindingsType; |
32 | 31 |
33 // MojoContextState manages the modules needed for mojo bindings. It does this | 32 // MojoContextState manages the modules needed for mojo bindings. It does this |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 81 |
83 // The prefix to use for all module requests. | 82 // The prefix to use for all module requests. |
84 const std::string module_prefix_; | 83 const std::string module_prefix_; |
85 | 84 |
86 DISALLOW_COPY_AND_ASSIGN(MojoContextState); | 85 DISALLOW_COPY_AND_ASSIGN(MojoContextState); |
87 }; | 86 }; |
88 | 87 |
89 } // namespace content | 88 } // namespace content |
90 | 89 |
91 #endif // CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_ | 90 #endif // CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_ |
OLD | NEW |