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

Side by Side Diff: mojo/shell/app_child_process.h

Issue 1065433002: Simplify some mojo_shell code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SHELL_APP_CHILD_PROCESS_H_
6 #define SHELL_APP_CHILD_PROCESS_H_
7
8 #include "base/macros.h"
9 #include "mojo/shell/child_process.h"
10
11 namespace mojo {
12 namespace shell {
13
14 // An implementation of |ChildProcess| for an app child process, which runs a
15 // single app (loaded from the file system) on its main thread.
16 class AppChildProcess : public ChildProcess {
17 public:
18 AppChildProcess();
19 ~AppChildProcess() override;
20
21 void Main() override;
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(AppChildProcess);
25 };
26
27 } // namespace shell
28 } // namespace mojo
29
30 #endif // SHELL_APP_CHILD_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698