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

Side by Side Diff: services/shell/runner/host/in_process_native_runner.cc

Issue 1965083003: Fix include path for moved thread_task_runner_handle.h header in services/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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 | « services/shell/runner/host/child_process_host.cc ('k') | services/shell/tests/shell/driver.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 #include "services/shell/runner/host/in_process_native_runner.h" 5 #include "services/shell/runner/host/in_process_native_runner.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/process/process.h" 13 #include "base/process/process.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/task_runner.h" 15 #include "base/task_runner.h"
16 #include "base/thread_task_runner_handle.h"
17 #include "base/threading/platform_thread.h" 16 #include "base/threading/platform_thread.h"
17 #include "base/threading/thread_task_runner_handle.h"
18 #include "mojo/public/cpp/bindings/interface_request.h" 18 #include "mojo/public/cpp/bindings/interface_request.h"
19 #include "services/shell/runner/host/native_application_support.h" 19 #include "services/shell/runner/host/native_application_support.h"
20 #include "services/shell/runner/host/out_of_process_native_runner.h" 20 #include "services/shell/runner/host/out_of_process_native_runner.h"
21 #include "services/shell/runner/init.h" 21 #include "services/shell/runner/init.h"
22 22
23 namespace shell { 23 namespace shell {
24 24
25 InProcessNativeRunner::InProcessNativeRunner() : app_library_(nullptr) {} 25 InProcessNativeRunner::InProcessNativeRunner() : app_library_(nullptr) {}
26 26
27 InProcessNativeRunner::~InProcessNativeRunner() { 27 InProcessNativeRunner::~InProcessNativeRunner() {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const base::FilePath& app_path) { 86 const base::FilePath& app_path) {
87 // Non-Mojo apps are always run in a new process. 87 // Non-Mojo apps are always run in a new process.
88 if (!app_path.MatchesExtension(FILE_PATH_LITERAL(".mojo"))) { 88 if (!app_path.MatchesExtension(FILE_PATH_LITERAL(".mojo"))) {
89 return base::WrapUnique( 89 return base::WrapUnique(
90 new OutOfProcessNativeRunner(launch_process_runner_, nullptr)); 90 new OutOfProcessNativeRunner(launch_process_runner_, nullptr));
91 } 91 }
92 return base::WrapUnique(new InProcessNativeRunner); 92 return base::WrapUnique(new InProcessNativeRunner);
93 } 93 }
94 94
95 } // namespace shell 95 } // namespace shell
OLDNEW
« no previous file with comments | « services/shell/runner/host/child_process_host.cc ('k') | services/shell/tests/shell/driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698