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

Unified Diff: chrome/browser/chromeos/arc/arc_session_manager.cc

Issue 2968073002: register voice interaction preference. (Closed)
Patch Set: address review comments Created 3 years, 5 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/arc/arc_session_manager.cc
diff --git a/chrome/browser/chromeos/arc/arc_session_manager.cc b/chrome/browser/chromeos/arc/arc_session_manager.cc
index 3226fc6a49131de633b5777b031c8cde092d6f01..fa9f88c26a0b25846513b619932707306eb43ff1 100644
--- a/chrome/browser/chromeos/arc/arc_session_manager.cc
+++ b/chrome/browser/chromeos/arc/arc_session_manager.cc
@@ -173,6 +173,9 @@ void ArcSessionManager::RegisterProfilePrefs(
registry->RegisterBooleanPref(prefs::kArcTermsAccepted, false);
registry->RegisterBooleanPref(prefs::kArcVoiceInteractionValuePropAccepted,
false);
+ registry->RegisterBooleanPref(prefs::kVoiceInteractionEnabled, false);
+ registry->RegisterBooleanPref(prefs::kVoiceInteractionContextEnabled, false);
+ registry->RegisterBooleanPref(prefs::kVoiceInteractionPrefSynced, false);
// Note that ArcBackupRestoreEnabled and ArcLocationServiceEnabled prefs have
// to be off by default, until an explicit gesture from the user to enable
// them is received. This is crucial in the cases when these prefs transition

Powered by Google App Engine
This is Rietveld 408576698