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

Unified Diff: mojo/shell/app_child_process_host.h

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/app_child_process.mojom ('k') | mojo/shell/app_child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « mojo/shell/app_child_process.mojom ('k') | mojo/shell/app_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698