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

Unified Diff: components/arc/arc_bridge_service.h

Issue 2731403007: add voice interaction shortcut. (Closed)
Patch Set: split 2 mojom host. Created 3 years, 9 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/arc_bridge_service.h
diff --git a/components/arc/arc_bridge_service.h b/components/arc/arc_bridge_service.h
index 60abe9d52dc3dcc9bf648fe13476f18ad6a53d45..0402f09935ab50b6b6be90820a64dbbc0c621ced 100644
--- a/components/arc/arc_bridge_service.h
+++ b/components/arc/arc_bridge_service.h
@@ -38,6 +38,7 @@ class ProcessInstance;
class StorageManagerInstance;
class TtsInstance;
class VideoInstance;
+class VoiceInteractionFrameworkInstance;
class WallpaperInstance;
} // namespace mojom
@@ -91,6 +92,10 @@ class ArcBridgeService {
}
InstanceHolder<mojom::TtsInstance>* tts() { return &tts_; }
InstanceHolder<mojom::VideoInstance>* video() { return &video_; }
+ InstanceHolder<mojom::VoiceInteractionFrameworkInstance>*
+ voice_interaction_framework() {
+ return &voice_interaction_framework_;
+ }
InstanceHolder<mojom::WallpaperInstance>* wallpaper() { return &wallpaper_; }
private:
@@ -118,6 +123,8 @@ class ArcBridgeService {
InstanceHolder<mojom::StorageManagerInstance> storage_manager_;
InstanceHolder<mojom::TtsInstance> tts_;
InstanceHolder<mojom::VideoInstance> video_;
+ InstanceHolder<mojom::VoiceInteractionFrameworkInstance>
+ voice_interaction_framework_;
InstanceHolder<mojom::WallpaperInstance> wallpaper_;
DISALLOW_COPY_AND_ASSIGN(ArcBridgeService);

Powered by Google App Engine
This is Rietveld 408576698