Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / mojo / shell / app_child_process.h
blobb5b1eb6660e0d899eb29897adb3539ce50b855c9
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 virtual ~AppChildProcess();
21 virtual 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_