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/common/new_window_controller.h" |
10 #include "ash/common/shell_delegate.h" | 10 #include "ash/common/shell_delegate.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 return GetIntentHelperInstanceWithErrorCode(method_name_for_logging, | 171 return GetIntentHelperInstanceWithErrorCode(method_name_for_logging, |
172 min_instance_version, nullptr); | 172 min_instance_version, nullptr); |
173 } | 173 } |
174 | 174 |
175 void ArcIntentHelperBridge::OnIntentFiltersUpdated( | 175 void ArcIntentHelperBridge::OnIntentFiltersUpdated( |
176 std::vector<IntentFilter> filters) { | 176 std::vector<IntentFilter> filters) { |
177 DCHECK(thread_checker_.CalledOnValidThread()); | 177 DCHECK(thread_checker_.CalledOnValidThread()); |
178 activity_resolver_->UpdateIntentFilters(std::move(filters)); | 178 activity_resolver_->UpdateIntentFilters(std::move(filters)); |
179 | 179 |
180 for (auto& observer : observer_list_) | 180 for (auto& observer : observer_list_) |
181 observer.OnAppsUpdated(); | 181 observer.OnIntentFiltersUpdated(); |
182 } | 182 } |
183 | 183 |
184 } // namespace arc | 184 } // namespace arc |
OLD | NEW |