OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chromeos/dbus/dbus_thread_manager.h" | 5 #include "chromeos/dbus/dbus_thread_manager.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/message_loop/message_loop.h" |
11 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
12 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
13 #include "chromeos/chromeos_switches.h" | 14 #include "chromeos/chromeos_switches.h" |
14 #include "chromeos/dbus/arc_obb_mounter_client.h" | 15 #include "chromeos/dbus/arc_obb_mounter_client.h" |
15 #include "chromeos/dbus/auth_policy_client.h" | 16 #include "chromeos/dbus/auth_policy_client.h" |
16 #include "chromeos/dbus/biod/biod_client.h" | 17 #include "chromeos/dbus/biod/biod_client.h" |
17 #include "chromeos/dbus/cras_audio_client.h" | 18 #include "chromeos/dbus/cras_audio_client.h" |
18 #include "chromeos/dbus/cros_disks_client.h" | 19 #include "chromeos/dbus/cros_disks_client.h" |
19 #include "chromeos/dbus/cryptohome_client.h" | 20 #include "chromeos/dbus/cryptohome_client.h" |
20 #include "chromeos/dbus/dbus_client.h" | 21 #include "chromeos/dbus/dbus_client.h" |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 std::move(client); | 398 std::move(client); |
398 } | 399 } |
399 | 400 |
400 void DBusThreadManagerSetter::SetUpdateEngineClient( | 401 void DBusThreadManagerSetter::SetUpdateEngineClient( |
401 std::unique_ptr<UpdateEngineClient> client) { | 402 std::unique_ptr<UpdateEngineClient> client) { |
402 DBusThreadManager::Get()->clients_common_->update_engine_client_ = | 403 DBusThreadManager::Get()->clients_common_->update_engine_client_ = |
403 std::move(client); | 404 std::move(client); |
404 } | 405 } |
405 | 406 |
406 } // namespace chromeos | 407 } // namespace chromeos |
OLD | NEW |