| Index: mojo/shell/app_child_process_host.h
|
| diff --git a/mojo/shell/app_child_process_host.h b/mojo/shell/app_child_process_host.h
|
| deleted file mode 100644
|
| index 4bf2f2bfdcf1b2d11a1503ec7d202a597ca42359..0000000000000000000000000000000000000000
|
| --- a/mojo/shell/app_child_process_host.h
|
| +++ /dev/null
|
| @@ -1,51 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef MOJO_SHELL_APP_CHILD_PROCESS_HOST_H_
|
| -#define MOJO_SHELL_APP_CHILD_PROCESS_HOST_H_
|
| -
|
| -#include "base/macros.h"
|
| -#include "mojo/edk/embedder/channel_info_forward.h"
|
| -#include "mojo/shell/app_child_process.mojom.h"
|
| -#include "mojo/shell/child_process_host.h"
|
| -
|
| -namespace mojo {
|
| -namespace shell {
|
| -
|
| -// A subclass of |ChildProcessHost| to host a |TYPE_APP| child process, which
|
| -// runs a single app (loaded from the file system).
|
| -//
|
| -// Note: After |Start()|, this object must remain alive until the controller
|
| -// client's |AppCompleted()| is called.
|
| -class AppChildProcessHost : public ChildProcessHost,
|
| - public ChildProcessHost::Delegate {
|
| - public:
|
| - AppChildProcessHost(Context* context,
|
| - AppChildControllerClient* controller_client);
|
| - ~AppChildProcessHost() override;
|
| -
|
| - AppChildController* controller() {
|
| - return controller_.get();
|
| - }
|
| -
|
| - private:
|
| - // |ChildProcessHost::Delegate| methods:
|
| - void WillStart() override;
|
| - void DidStart(bool success) override;
|
| -
|
| - // Callback for |embedder::CreateChannel()|.
|
| - void DidCreateChannel(embedder::ChannelInfo* channel_info);
|
| -
|
| - AppChildControllerClient* const controller_client_;
|
| -
|
| - AppChildControllerPtr controller_;
|
| - embedder::ChannelInfo* channel_info_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(AppChildProcessHost);
|
| -};
|
| -
|
| -} // namespace shell
|
| -} // namespace mojo
|
| -
|
| -#endif // MOJO_SHELL_APP_CHILD_PROCESS_HOST_H_
|
|
|