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

Side by Side Diff: services/service_manager/runner/host/in_process_native_runner.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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
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 SERVICES_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_
6 #define SERVICES_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ 6 #define SERVICES_SERVICE_MANAGER_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/scoped_native_library.h" 13 #include "base/scoped_native_library.h"
14 #include "base/threading/simple_thread.h" 14 #include "base/threading/simple_thread.h"
15 #include "services/shell/native_runner.h" 15 #include "services/service_manager/native_runner.h"
16 16
17 namespace base { 17 namespace base {
18 class TaskRunner; 18 class TaskRunner;
19 } 19 }
20 20
21 namespace shell { 21 namespace shell {
22 22
23 // An implementation of |NativeRunner| that loads/runs the given service (from 23 // An implementation of |NativeRunner| that loads/runs the given service (from
24 // the file system) on a separate thread (in the current process). 24 // the file system) on a separate thread (in the current process).
25 class InProcessNativeRunner : public NativeRunner, 25 class InProcessNativeRunner : public NativeRunner,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const base::FilePath& library_path) override; 60 const base::FilePath& library_path) override;
61 61
62 private: 62 private:
63 base::TaskRunner* const launch_process_runner_; 63 base::TaskRunner* const launch_process_runner_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory); 65 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory);
66 }; 66 };
67 67
68 } // namespace shell 68 } // namespace shell
69 69
70 #endif // SERVICES_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ 70 #endif // SERVICES_SERVICE_MANAGER_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698