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

Side by Side Diff: mojo/runner/in_process_native_runner.h

Issue 1091513005: Separate mojo/shell into a runner and the application manager (shell) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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
« no previous file with comments | « mojo/runner/filename_util.cc ('k') | mojo/runner/in_process_native_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SHELL_IN_PROCESS_NATIVE_RUNNER_H_ 5 #ifndef MOJO_RUNNER_IN_PROCESS_NATIVE_RUNNER_H_
6 #define SHELL_IN_PROCESS_NATIVE_RUNNER_H_ 6 #define MOJO_RUNNER_IN_PROCESS_NATIVE_RUNNER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/scoped_native_library.h" 12 #include "base/scoped_native_library.h"
13 #include "base/threading/simple_thread.h" 13 #include "base/threading/simple_thread.h"
14 #include "mojo/shell/application_manager/native_runner.h" 14 #include "mojo/runner/native_application_support.h"
15 #include "mojo/shell/native_application_support.h" 15 #include "mojo/shell/native_runner.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace shell { 18 namespace shell {
19 19
20 class Context; 20 class Context;
21 21
22 // An implementation of |NativeRunner| that loads/runs the given app (from the 22 // An implementation of |NativeRunner| that loads/runs the given app (from the
23 // file system) on a separate thread (in the current process). 23 // file system) on a separate thread (in the current process).
24 class InProcessNativeRunner : public NativeRunner, 24 class InProcessNativeRunner : public NativeRunner,
25 public base::DelegateSimpleThread::Delegate { 25 public base::DelegateSimpleThread::Delegate {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 private: 58 private:
59 Context* const context_; 59 Context* const context_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory); 61 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory);
62 }; 62 };
63 63
64 } // namespace shell 64 } // namespace shell
65 } // namespace mojo 65 } // namespace mojo
66 66
67 #endif // SHELL_IN_PROCESS_NATIVE_RUNNER_H_ 67 #endif // MOJO_RUNNER_IN_PROCESS_NATIVE_RUNNER_H_
OLDNEW
« no previous file with comments | « mojo/runner/filename_util.cc ('k') | mojo/runner/in_process_native_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698