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

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

Issue 2731403007: add voice interaction shortcut. (Closed)
Patch Set: Updated docs for mojom fields; Changed coding according to comments. 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: chrome/browser/chromeos/arc/arc_service_launcher.cc
diff --git a/chrome/browser/chromeos/arc/arc_service_launcher.cc b/chrome/browser/chromeos/arc/arc_service_launcher.cc
index 0365cbb26fa1308638d39dd5481c2fa181dec9eb..f2cf660c0deaf943ba2ba379d2808d5984fecf13 100644
--- a/chrome/browser/chromeos/arc/arc_service_launcher.cc
+++ b/chrome/browser/chromeos/arc/arc_service_launcher.cc
@@ -16,6 +16,7 @@
#include "chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler.h"
#include "chrome/browser/chromeos/arc/arc_session_manager.h"
#include "chrome/browser/chromeos/arc/arc_util.h"
+#include "chrome/browser/chromeos/arc/arc_voice_interaction_service.h"
#include "chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h"
#include "chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.h"
#include "chrome/browser/chromeos/arc/enterprise/arc_enterprise_reporting_service.h"
@@ -137,6 +138,8 @@ void ArcServiceLauncher::Initialize() {
arc_service_manager_->AddService(
base::MakeUnique<ArcTtsService>(arc_bridge_service));
arc_service_manager_->AddService(
+ base::MakeUnique<ArcVoiceInteractionService>(arc_bridge_service));
xc 2017/03/09 05:05:47 Can we use the flag to guard the creation of the s
Muyuan 2017/03/09 20:44:44 Not quite sure about this. Going to check with lui
Luis Héctor Chávez 2017/03/14 02:11:32 Yes, that also works.
+ arc_service_manager_->AddService(
base::MakeUnique<ArcWallpaperService>(arc_bridge_service));
arc_service_manager_->AddService(
base::MakeUnique<GpuArcVideoServiceHost>(arc_bridge_service));

Powered by Google App Engine
This is Rietveld 408576698