| Index: components/arc/intent_helper/arc_intent_helper_bridge.cc
|
| diff --git a/components/arc/intent_helper/arc_intent_helper_bridge.cc b/components/arc/intent_helper/arc_intent_helper_bridge.cc
|
| index 15814543e66fe75fe9e6117a6815fa9f54635636..6c736b972fe124469f83bc5549895e3218dd0a9d 100644
|
| --- a/components/arc/intent_helper/arc_intent_helper_bridge.cc
|
| +++ b/components/arc/intent_helper/arc_intent_helper_bridge.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "components/arc/intent_helper/activity_icon_loader.h"
|
| #include "components/arc/intent_helper/link_handler_model_impl.h"
|
| +#include "components/arc/intent_helper/local_activity_resolver.h"
|
| #include "ui/base/layout.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -26,8 +27,12 @@ constexpr char kArcIntentHelperPackageName[] = "org.chromium.arc.intent_helper";
|
|
|
| ArcIntentHelperBridge::ArcIntentHelperBridge(
|
| ArcBridgeService* bridge_service,
|
| - const scoped_refptr<ActivityIconLoader>& icon_loader)
|
| - : ArcService(bridge_service), binding_(this), icon_loader_(icon_loader) {
|
| + const scoped_refptr<ActivityIconLoader>& icon_loader,
|
| + const scoped_refptr<LocalActivityResolver>& activity_resolver)
|
| + : ArcService(bridge_service),
|
| + binding_(this),
|
| + icon_loader_(icon_loader),
|
| + activity_resolver_(activity_resolver) {
|
| arc_bridge_service()->AddObserver(this);
|
| }
|
|
|
| @@ -95,4 +100,9 @@ ArcIntentHelperBridge::FilterOutIntentHelper(
|
| return handlers_filtered;
|
| }
|
|
|
| +void ArcIntentHelperBridge::OnIntentFiltersUpdated(
|
| + mojo::Array<mojom::IntentFilterPtr> filters) {
|
| + activity_resolver_->UpdateIntentFilters(filters);
|
| +}
|
| +
|
| } // namespace arc
|
|
|