| Index: content/browser/mojo/mojo_shell_context.h
|
| diff --git a/content/browser/mojo/mojo_shell_context.h b/content/browser/mojo/mojo_shell_context.h
|
| index 8602773e0402b741e09a29d09590b8f021fe8504..8885270116803a651ee29c97b1adc3e711ad8d18 100644
|
| --- a/content/browser/mojo/mojo_shell_context.h
|
| +++ b/content/browser/mojo/mojo_shell_context.h
|
| @@ -5,23 +5,19 @@
|
| #ifndef CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
|
| #define CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
|
|
|
| -#include <map>
|
| -#include <memory>
|
| -
|
| -#include "base/callback_forward.h"
|
| -#include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "content/common/content_export.h"
|
| -#include "services/shell/service_manager.h"
|
|
|
| -namespace catalog {
|
| -class Catalog;
|
| +namespace shell {
|
| +class Connector;
|
| }
|
|
|
| namespace content {
|
|
|
| -// MojoShellContext hosts the browser's ApplicationManager, coordinating
|
| -// app registration and interconnection.
|
| +// MojoShellContext manages the browser's connection to the ServiceManager,
|
| +// hosting a new in-process ServiceManager if the browser was not launched from
|
| +// an external one.
|
| class CONTENT_EXPORT MojoShellContext {
|
| public:
|
| MojoShellContext();
|
| @@ -31,11 +27,9 @@ class CONTENT_EXPORT MojoShellContext {
|
| static shell::Connector* GetConnectorForIOThread();
|
|
|
| private:
|
| - class BuiltinManifestProvider;
|
| + class InProcessServiceManagerContext;
|
|
|
| - std::unique_ptr<BuiltinManifestProvider> manifest_provider_;
|
| - std::unique_ptr<catalog::Catalog> catalog_;
|
| - std::unique_ptr<shell::ServiceManager> service_manager_;
|
| + scoped_refptr<InProcessServiceManagerContext> in_process_context_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MojoShellContext);
|
| };
|
|
|