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

Unified Diff: components/arc/common/voice_interaction_framework.mojom

Issue 2968073002: register voice interaction preference. (Closed)
Patch Set: rebase 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/voice_interaction_framework.mojom
diff --git a/components/arc/common/voice_interaction_framework.mojom b/components/arc/common/voice_interaction_framework.mojom
index c5129a6ad80e8675e04465d81871547914df12a7..ad26b90d03d2aeedcdb846434a1ac2399d9f3289 100644
--- a/components/arc/common/voice_interaction_framework.mojom
+++ b/components/arc/common/voice_interaction_framework.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 7
+// Next MinVersion: 8
module arc.mojom;
@@ -30,8 +30,20 @@ interface VoiceInteractionFrameworkHost {
[MinVersion=6]SetVoiceInteractionRunning@4(bool running);
};
+// Indicates voice interaction configuration status.
+struct VoiceInteractionStatus {
+ // Whether voice interaction is configured during OOBE flow. |false| if
+ // OOBE flow has been skipped.
+ bool configured;
+ // Whether voice interaction service is enabled.
+ bool voice_interaction_enabled;
+ // Whether allow voice interaction service to request screenshot
+ // and screen context.
+ bool context_enabled;
+};
+
// Connects with Android system server.
-// Next method ID: 7
+// Next method ID: 8
interface VoiceInteractionFrameworkInstance {
Init@0(VoiceInteractionFrameworkHost host_ptr);
@@ -55,4 +67,8 @@ interface VoiceInteractionFrameworkInstance {
// Starts the voice interaction setup wizard in container.
[MinVersion=5] StartVoiceInteractionSetupWizard@6();
-};
+
+ // Queries voice interaction settings status.
+ [MinVersion=7] GetVoiceInteractionSettings@7() =>
+ (VoiceInteractionStatus status);
+};
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698