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_service_manager.h" | 5 #include "components/arc/arc_service_manager.h" |
6 | 6 |
7 #include <utility> | |
8 | |
9 #include "base/sequenced_task_runner.h" | 7 #include "base/sequenced_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 8 #include "base/thread_task_runner_handle.h" |
11 #include "components/arc/arc_bridge_bootstrap.h" | 9 #include "components/arc/arc_bridge_bootstrap.h" |
12 #include "components/arc/arc_bridge_service_impl.h" | 10 #include "components/arc/arc_bridge_service_impl.h" |
13 #include "components/arc/clipboard/arc_clipboard_bridge.h" | 11 #include "components/arc/clipboard/arc_clipboard_bridge.h" |
14 #include "components/arc/ime/arc_ime_bridge.h" | 12 #include "components/arc/ime/arc_ime_bridge.h" |
15 #include "components/arc/input/arc_input_bridge.h" | 13 #include "components/arc/input/arc_input_bridge.h" |
16 #include "components/arc/power/arc_power_bridge.h" | 14 #include "components/arc/power/arc_power_bridge.h" |
17 #include "ui/arc/notification/arc_notification_manager.h" | 15 #include "ui/arc/notification/arc_notification_manager.h" |
18 | 16 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 61 |
64 void ArcServiceManager::OnPrimaryUserProfilePrepared( | 62 void ArcServiceManager::OnPrimaryUserProfilePrepared( |
65 const AccountId& account_id) { | 63 const AccountId& account_id) { |
66 DCHECK(thread_checker_.CalledOnValidThread()); | 64 DCHECK(thread_checker_.CalledOnValidThread()); |
67 | 65 |
68 AddService(make_scoped_ptr( | 66 AddService(make_scoped_ptr( |
69 new ArcNotificationManager(arc_bridge_service(), account_id))); | 67 new ArcNotificationManager(arc_bridge_service(), account_id))); |
70 } | 68 } |
71 | 69 |
72 } // namespace arc | 70 } // namespace arc |
OLD | NEW |