Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: components/arc/intent_helper/arc_intent_helper_bridge.h

Issue 2881283002: add interface to start first run when voice interaction oobe is completed (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/arc/intent_helper/arc_intent_helper_bridge.h
diff --git a/components/arc/intent_helper/arc_intent_helper_bridge.h b/components/arc/intent_helper/arc_intent_helper_bridge.h
index 06e58aaec0ae7908b44e30f0db672c5cb490380b..ea60e40991bc99ac0ab6573bb3c1ff4086754485 100644
--- a/components/arc/intent_helper/arc_intent_helper_bridge.h
+++ b/components/arc/intent_helper/arc_intent_helper_bridge.h
@@ -42,7 +42,8 @@ class ArcIntentHelperBridge
public:
ArcIntentHelperBridge(
ArcBridgeService* bridge_service,
- const scoped_refptr<LocalActivityResolver>& activity_resolver);
+ const scoped_refptr<LocalActivityResolver>& activity_resolver,
+ const base::Callback<void()> first_run_function);
~ArcIntentHelperBridge() override;
void AddObserver(ArcIntentHelperObserver* observer);
@@ -60,6 +61,7 @@ class ArcIntentHelperBridge
void OnOpenUrl(const std::string& url) override;
void OpenWallpaperPicker() override;
void SetWallpaperDeprecated(const std::vector<uint8_t>& jpeg_data) override;
+ void OnVoiceInteractionOobeSetupCompleted() override;
// Retrieves icons for the |activities| and calls |callback|.
// See ActivityIconLoader::GetActivityIcons() for more details.
@@ -97,6 +99,8 @@ class ArcIntentHelperBridge
base::ObserverList<ArcIntentHelperObserver> observer_list_;
+ const base::Callback<void()> start_first_run_function_;
+
DISALLOW_COPY_AND_ASSIGN(ArcIntentHelperBridge);
};

Powered by Google App Engine
This is Rietveld 408576698