| 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 b9e2f350cfda8af4c8fe53fdb81222e31e06c164..1763a018a786c2433cfbcb210aa666c70fabb9fe 100644
|
| --- a/components/arc/intent_helper/arc_intent_helper_bridge.cc
|
| +++ b/components/arc/intent_helper/arc_intent_helper_bridge.cc
|
| @@ -30,10 +30,12 @@ const char ArcIntentHelperBridge::kArcIntentHelperPackageName[] =
|
|
|
| ArcIntentHelperBridge::ArcIntentHelperBridge(
|
| ArcBridgeService* bridge_service,
|
| - const scoped_refptr<LocalActivityResolver>& activity_resolver)
|
| + const scoped_refptr<LocalActivityResolver>& activity_resolver,
|
| + const base::Callback<void()> first_run_function)
|
| : ArcService(bridge_service),
|
| binding_(this),
|
| - activity_resolver_(activity_resolver) {
|
| + activity_resolver_(activity_resolver),
|
| + start_first_run_function_(first_run_function) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| arc_bridge_service()->intent_helper()->AddObserver(this);
|
| }
|
| @@ -87,6 +89,11 @@ void ArcIntentHelperBridge::SetWallpaperDeprecated(
|
| LOG(ERROR) << "IntentHelper.SetWallpaper is deprecated";
|
| }
|
|
|
| +void ArcIntentHelperBridge::OnVoiceInteractionOobeSetupCompleted() {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + start_first_run_function_.Run();
|
| +}
|
| +
|
| ArcIntentHelperBridge::GetResult ArcIntentHelperBridge::GetActivityIcons(
|
| const std::vector<ActivityName>& activities,
|
| const OnIconsReadyCallback& callback) {
|
|
|