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/posix/eintr_wrapper.h" | 18 #include "base/posix/eintr_wrapper.h" |
18 #include "base/task_runner_util.h" | 19 #include "base/task_runner_util.h" |
19 #include "base/thread_task_runner_handle.h" | 20 #include "base/thread_task_runner_handle.h" |
20 #include "base/threading/thread_checker.h" | 21 #include "base/threading/thread_checker.h" |
21 #include "base/threading/worker_pool.h" | 22 #include "base/threading/worker_pool.h" |
22 #include "chromeos/dbus/dbus_method_call_status.h" | 23 #include "chromeos/dbus/dbus_method_call_status.h" |
23 #include "chromeos/dbus/dbus_thread_manager.h" | 24 #include "chromeos/dbus/dbus_thread_manager.h" |
24 #include "chromeos/dbus/session_manager_client.h" | 25 #include "chromeos/dbus/session_manager_client.h" |
25 #include "ipc/unix_domain_socket_util.h" | 26 #include "ipc/unix_domain_socket_util.h" |
26 #include "mojo/edk/embedder/embedder.h" | 27 #include "mojo/edk/embedder/embedder.h" |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 state_ = state; | 331 state_ = state; |
331 } | 332 } |
332 | 333 |
333 } // namespace | 334 } // namespace |
334 | 335 |
335 ArcBridgeBootstrap::ArcBridgeBootstrap() {} | 336 ArcBridgeBootstrap::ArcBridgeBootstrap() {} |
336 | 337 |
337 ArcBridgeBootstrap::~ArcBridgeBootstrap() {} | 338 ArcBridgeBootstrap::~ArcBridgeBootstrap() {} |
338 | 339 |
339 // static | 340 // static |
340 scoped_ptr<ArcBridgeBootstrap> ArcBridgeBootstrap::Create() { | 341 std::unique_ptr<ArcBridgeBootstrap> ArcBridgeBootstrap::Create() { |
341 return make_scoped_ptr(new ArcBridgeBootstrapImpl()); | 342 return base::WrapUnique(new ArcBridgeBootstrapImpl()); |
342 } | 343 } |
343 | 344 |
344 } // namespace arc | 345 } // namespace arc |
OLD | NEW |