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"
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
{
19 virtual ~AppChildProcess();
21 virtual void Main() OVERRIDE
;
24 DISALLOW_COPY_AND_ASSIGN(AppChildProcess
);
30 #endif // MOJO_SHELL_APP_CHILD_PROCESS_H_