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

Unified Diff: chrome/browser/chromeos/first_run/first_run.cc

Issue 2912593002: Create OOBE screen for Voice Interaction value proposition (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: chrome/browser/chromeos/first_run/first_run.cc
diff --git a/chrome/browser/chromeos/first_run/first_run.cc b/chrome/browser/chromeos/first_run/first_run.cc
index e4ea95643bcd74425a7bd6ed1faf816a4edc866c..5be34f3f4c6b42b1b26f376b34a54aa0df7a1195 100644
--- a/chrome/browser/chromeos/first_run/first_run.cc
+++ b/chrome/browser/chromeos/first_run/first_run.cc
@@ -45,6 +45,12 @@ void LaunchDialogForProfile(Profile* profile) {
if (!extension)
return;
+ // If voice interaction value prop has been accepted, the tutorial will be
+ // shown after the voice interaction OOBE flow.
+ if (profile->GetPrefs()->GetBoolean(
+ prefs::kArcVoiceInteractionValuePropAccepted))
xiyuan 2017/05/30 19:26:21 How would this play along with MaybeLaunchDialogAf
xc 2017/05/31 18:37:52 +1 We may have to show this more than once even if
yueli 2017/06/02 02:03:46 Done.
+ return;
+
OpenApplication(AppLaunchParams(
profile, extension, extensions::LAUNCH_CONTAINER_WINDOW,
WindowOpenDisposition::NEW_WINDOW, extensions::SOURCE_CHROME_INTERNAL));

Powered by Google App Engine
This is Rietveld 408576698