OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/arc/arc_bridge_bootstrap.h" | 5 #include "components/arc/arc_bridge_bootstrap.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <grp.h> | 8 #include <grp.h> |
9 #include <unistd.h> | 9 #include <unistd.h> |
10 | 10 |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ptr_util.h" | 17 #include "base/memory/ptr_util.h" |
18 #include "base/posix/eintr_wrapper.h" | 18 #include "base/posix/eintr_wrapper.h" |
19 #include "base/task_runner_util.h" | 19 #include "base/task_runner_util.h" |
20 #include "base/thread_task_runner_handle.h" | |
21 #include "base/threading/thread_checker.h" | 20 #include "base/threading/thread_checker.h" |
| 21 #include "base/threading/thread_task_runner_handle.h" |
22 #include "base/threading/worker_pool.h" | 22 #include "base/threading/worker_pool.h" |
23 #include "chromeos/dbus/dbus_method_call_status.h" | 23 #include "chromeos/dbus/dbus_method_call_status.h" |
24 #include "chromeos/dbus/dbus_thread_manager.h" | 24 #include "chromeos/dbus/dbus_thread_manager.h" |
25 #include "chromeos/dbus/session_manager_client.h" | 25 #include "chromeos/dbus/session_manager_client.h" |
26 #include "ipc/unix_domain_socket_util.h" | 26 #include "ipc/unix_domain_socket_util.h" |
27 #include "mojo/edk/embedder/embedder.h" | 27 #include "mojo/edk/embedder/embedder.h" |
28 #include "mojo/edk/embedder/platform_channel_pair.h" | 28 #include "mojo/edk/embedder/platform_channel_pair.h" |
29 #include "mojo/edk/embedder/platform_channel_utils_posix.h" | 29 #include "mojo/edk/embedder/platform_channel_utils_posix.h" |
30 #include "mojo/edk/embedder/platform_handle_vector.h" | 30 #include "mojo/edk/embedder/platform_handle_vector.h" |
31 #include "mojo/edk/embedder/scoped_platform_handle.h" | 31 #include "mojo/edk/embedder/scoped_platform_handle.h" |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 } | 333 } |
334 | 334 |
335 } // namespace | 335 } // namespace |
336 | 336 |
337 // static | 337 // static |
338 std::unique_ptr<ArcBridgeBootstrap> ArcBridgeBootstrap::Create() { | 338 std::unique_ptr<ArcBridgeBootstrap> ArcBridgeBootstrap::Create() { |
339 return base::WrapUnique(new ArcBridgeBootstrapImpl()); | 339 return base::WrapUnique(new ArcBridgeBootstrapImpl()); |
340 } | 340 } |
341 | 341 |
342 } // namespace arc | 342 } // namespace arc |
OLD | NEW |