cc: Make picture pile base thread safe.
[chromium-blink-merge.git] / mojo / shell / app_child_process.h
blob5469edaa454efca55d4e36d07f143a587180b652
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.
5 #ifndef MOJO_SHELL_APP_CHILD_PROCESS_H_
6 #define MOJO_SHELL_APP_CHILD_PROCESS_H_
8 #include "base/macros.h"
9 #include "mojo/shell/child_process.h"
11 namespace mojo {
12 namespace shell {
14 // An implementation of |ChildProcess| for a |TYPE_APP| child process, which
15 // runs a single app (loaded from the file system) on its main thread.
16 class AppChildProcess : public ChildProcess {
17 public:
18 AppChildProcess();
19 ~AppChildProcess() override;
21 void Main() override;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(AppChildProcess);
27 } // namespace shell
28 } // namespace mojo
30 #endif // MOJO_SHELL_APP_CHILD_PROCESS_H_