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 "ash/mus/window_manager_application.h" | 5 #include "ash/mus/window_manager_application.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "ash/mojo_interface_factory.h" | 9 #include "ash/mojo_interface_factory.h" |
10 #include "ash/mus/network_connect_delegate_mus.h" | 10 #include "ash/mus/network_connect_delegate_mus.h" |
11 #include "ash/mus/window_manager.h" | 11 #include "ash/mus/window_manager.h" |
12 #include "ash/public/cpp/config.h" | 12 #include "ash/public/cpp/config.h" |
13 #include "ash/system/power/power_status.h" | 13 #include "ash/system/power/power_status.h" |
14 #include "ash/wm_shell.h" | |
15 #include "base/bind.h" | 14 #include "base/bind.h" |
16 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
17 #include "base/threading/sequenced_worker_pool.h" | 16 #include "base/threading/sequenced_worker_pool.h" |
18 #include "base/threading/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
19 #include "chromeos/audio/cras_audio_handler.h" | 18 #include "chromeos/audio/cras_audio_handler.h" |
20 #include "chromeos/dbus/dbus_thread_manager.h" | 19 #include "chromeos/dbus/dbus_thread_manager.h" |
21 #include "chromeos/network/network_connect.h" | 20 #include "chromeos/network/network_connect.h" |
22 #include "chromeos/network/network_handler.h" | 21 #include "chromeos/network/network_handler.h" |
23 #include "chromeos/system/fake_statistics_provider.h" | 22 #include "chromeos/system/fake_statistics_provider.h" |
24 #include "device/bluetooth/bluetooth_adapter_factory.h" | 23 #include "device/bluetooth/bluetooth_adapter_factory.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 void WindowManagerApplication::OnBindInterface( | 140 void WindowManagerApplication::OnBindInterface( |
142 const service_manager::ServiceInfo& source_info, | 141 const service_manager::ServiceInfo& source_info, |
143 const std::string& interface_name, | 142 const std::string& interface_name, |
144 mojo::ScopedMessagePipeHandle interface_pipe) { | 143 mojo::ScopedMessagePipeHandle interface_pipe) { |
145 registry_.BindInterface(source_info.identity, interface_name, | 144 registry_.BindInterface(source_info.identity, interface_name, |
146 std::move(interface_pipe)); | 145 std::move(interface_pipe)); |
147 } | 146 } |
148 | 147 |
149 } // namespace mus | 148 } // namespace mus |
150 } // namespace ash | 149 } // namespace ash |
OLD | NEW |