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

Side by Side Diff: shell/in_process_dynamic_service_runner.h

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « shell/filename_util.cc ('k') | shell/in_process_dynamic_service_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 MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ 5 #ifndef SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_
6 #define MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ 6 #define SHELL_IN_PROCESS_DYNAMIC_SERVICE_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/threading/simple_thread.h" 11 #include "base/threading/simple_thread.h"
12 #include "mojo/shell/dynamic_service_runner.h" 12 #include "shell/dynamic_service_runner.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 namespace shell { 15 namespace shell {
16 16
17 // An implementation of |DynamicServiceRunner| that loads/runs the given app 17 // An implementation of |DynamicServiceRunner| that loads/runs the given app
18 // (from the file system) on a separate thread (in the current process). 18 // (from the file system) on a separate thread (in the current process).
19 class InProcessDynamicServiceRunner 19 class InProcessDynamicServiceRunner
20 : public DynamicServiceRunner, 20 : public DynamicServiceRunner,
21 public base::DelegateSimpleThread::Delegate { 21 public base::DelegateSimpleThread::Delegate {
22 public: 22 public:
(...skipping 18 matching lines...) Expand all
41 41
42 DISALLOW_COPY_AND_ASSIGN(InProcessDynamicServiceRunner); 42 DISALLOW_COPY_AND_ASSIGN(InProcessDynamicServiceRunner);
43 }; 43 };
44 44
45 typedef DynamicServiceRunnerFactoryImpl<InProcessDynamicServiceRunner> 45 typedef DynamicServiceRunnerFactoryImpl<InProcessDynamicServiceRunner>
46 InProcessDynamicServiceRunnerFactory; 46 InProcessDynamicServiceRunnerFactory;
47 47
48 } // namespace shell 48 } // namespace shell
49 } // namespace mojo 49 } // namespace mojo
50 50
51 #endif // MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ 51 #endif // SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_
OLDNEW
« no previous file with comments | « shell/filename_util.cc ('k') | shell/in_process_dynamic_service_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698