| Index: content/utility/utility_thread_impl.h
|
| diff --git a/content/utility/utility_thread_impl.h b/content/utility/utility_thread_impl.h
|
| index 3b1d66d65d4407269c4de80f3a6b0559e74199a9..b7a1be51b7bf26fc5f628ef0c7e0f633e6b3f9a9 100644
|
| --- a/content/utility/utility_thread_impl.h
|
| +++ b/content/utility/utility_thread_impl.h
|
| @@ -10,9 +10,11 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "content/child/child_thread_impl.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/utility/utility_thread.h"
|
| +#include "mojo/common/weak_binding_set.h"
|
|
|
| namespace base {
|
| class FilePath;
|
| @@ -20,7 +22,9 @@ class FilePath;
|
|
|
| namespace content {
|
| class BlinkPlatformImpl;
|
| +class ProcessControl;
|
| class UtilityBlinkPlatformImpl;
|
| +class UtilityProcessControlImpl;
|
|
|
| #if defined(COMPILER_MSVC)
|
| // See explanation for other RenderViewHostImpl which is the same issue.
|
| @@ -54,11 +58,20 @@ class UtilityThreadImpl : public UtilityThread,
|
| void OnLoadPlugins(const std::vector<base::FilePath>& plugin_paths);
|
| #endif
|
|
|
| + void BindProcessControlRequest(
|
| + mojo::InterfaceRequest<content::ProcessControl> request);
|
| +
|
| // True when we're running in batch mode.
|
| bool batch_mode_;
|
|
|
| scoped_ptr<UtilityBlinkPlatformImpl> blink_platform_impl_;
|
|
|
| + // Process control for Mojo application hosting.
|
| + scoped_ptr<UtilityProcessControlImpl> process_control_;
|
| +
|
| + // Bindings to the ProcessControl impl.
|
| + mojo::WeakBindingSet<ProcessControl> process_control_bindings_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl);
|
| };
|
|
|
|
|