OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/intent_helper/arc_intent_helper_bridge.h" | 5 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "ash/common/new_window_controller.h" | 9 #include "ash/new_window_controller.h" |
10 #include "ash/common/shell_delegate.h" | |
11 #include "ash/common/wallpaper/wallpaper_controller.h" | |
12 #include "ash/common/wm_shell.h" | |
13 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/shell_delegate.h" |
| 12 #include "ash/wallpaper/wallpaper_controller.h" |
| 13 #include "ash/wm_shell.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "components/arc/arc_bridge_service.h" | 15 #include "components/arc/arc_bridge_service.h" |
16 #include "components/arc/arc_service_manager.h" | 16 #include "components/arc/arc_service_manager.h" |
17 #include "components/arc/intent_helper/link_handler_model_impl.h" | 17 #include "components/arc/intent_helper/link_handler_model_impl.h" |
18 #include "components/arc/intent_helper/local_activity_resolver.h" | 18 #include "components/arc/intent_helper/local_activity_resolver.h" |
19 #include "ui/base/layout.h" | 19 #include "ui/base/layout.h" |
20 #include "url/gurl.h" | 20 #include "url/gurl.h" |
21 | 21 |
22 namespace arc { | 22 namespace arc { |
23 | 23 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 void ArcIntentHelperBridge::OnIntentFiltersUpdated( | 134 void ArcIntentHelperBridge::OnIntentFiltersUpdated( |
135 std::vector<IntentFilter> filters) { | 135 std::vector<IntentFilter> filters) { |
136 DCHECK(thread_checker_.CalledOnValidThread()); | 136 DCHECK(thread_checker_.CalledOnValidThread()); |
137 activity_resolver_->UpdateIntentFilters(std::move(filters)); | 137 activity_resolver_->UpdateIntentFilters(std::move(filters)); |
138 | 138 |
139 for (auto& observer : observer_list_) | 139 for (auto& observer : observer_list_) |
140 observer.OnIntentFiltersUpdated(); | 140 observer.OnIntentFiltersUpdated(); |
141 } | 141 } |
142 | 142 |
143 } // namespace arc | 143 } // namespace arc |
OLD | NEW |