Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: content/renderer/mojo_context_state.h

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 {
23 struct PendingModule;
24 }
25
26 namespace content { 22 namespace content {
27 23
28 class ResourceFetcher; 24 class ResourceFetcher;
29 class MojoMainRunner; 25 class MojoMainRunner;
30 enum class MojoBindingsType; 26 enum class MojoBindingsType;
31 27
32 // MojoContextState manages the modules needed for mojo bindings. It does this 28 // MojoContextState manages the modules needed for mojo bindings. It does this
33 // by way of gin. Non-builtin modules are downloaded by way of ResourceFetchers. 29 // by way of gin. Non-builtin modules are downloaded by way of ResourceFetchers.
34 class MojoContextState : public gin::ModuleRegistryObserver { 30 class MojoContextState : public gin::ModuleRegistryObserver {
35 public: 31 public:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 77
82 // The prefix to use for all module requests. 78 // The prefix to use for all module requests.
83 const std::string module_prefix_; 79 const std::string module_prefix_;
84 80
85 DISALLOW_COPY_AND_ASSIGN(MojoContextState); 81 DISALLOW_COPY_AND_ASSIGN(MojoContextState);
86 }; 82 };
87 83
88 } // namespace content 84 } // namespace content
89 85
90 #endif // CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_ 86 #endif // CONTENT_RENDERER_MOJO_CONTEXT_STATE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc/peer_connection_dependency_factory.h ('k') | content/renderer/pepper/host_var_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698