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

Issue 2968073002: register voice interaction preference. (Closed)

Created:
3 years, 5 months ago by Muyuan
Modified:
3 years, 5 months ago
CC:
rcui, chromium-reviews, elijahtaylor+arcwatch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

add voice interaction preference. There should be 3 states for voice interaction preferences: undefined, enabled, disabled. It starts at undefined and will do a one-time-only fetch from Android to incorporate OOBE settings. Then the switches are managed by Chrome completely. BUG=b:38175284 Review-Url: https://codereview.chromium.org/2968073002 Cr-Commit-Position: refs/heads/master@{#487633} Committed: https://chromium.googlesource.com/chromium/src/+/5bd014442c0d691253b0283506649196432b05d5

Patch Set 1 #

Patch Set 2 : add flag sync logic #

Total comments: 2

Patch Set 3 : address review comments #

Total comments: 25

Patch Set 4 : address review comments #

Total comments: 10

Patch Set 5 : address review comment #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -5 lines) Patch
M chrome/browser/chromeos/arc/arc_session_manager.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_arc_home_service.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h View 1 2 3 4 5 4 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc View 1 2 3 4 5 6 chunks +40 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M components/arc/common/voice_interaction_framework.mojom View 1 2 3 3 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
Muyuan
3 years, 5 months ago (2017-07-06 00:01:46 UTC) #2
Muyuan
steven: could you please take a look at the settings flags lhchaves: please take a ...
3 years, 5 months ago (2017-07-06 22:04:33 UTC) #6
dcheng
https://codereview.chromium.org/2968073002/diff/20001/components/arc/common/voice_interaction_framework.mojom File components/arc/common/voice_interaction_framework.mojom (right): https://codereview.chromium.org/2968073002/diff/20001/components/arc/common/voice_interaction_framework.mojom#newcode61 components/arc/common/voice_interaction_framework.mojom:61: => (bool defined, bool voice_interaction, bool context); 1) Please ...
3 years, 5 months ago (2017-07-06 23:30:34 UTC) #7
Muyuan
https://codereview.chromium.org/2968073002/diff/20001/components/arc/common/voice_interaction_framework.mojom File components/arc/common/voice_interaction_framework.mojom (right): https://codereview.chromium.org/2968073002/diff/20001/components/arc/common/voice_interaction_framework.mojom#newcode61 components/arc/common/voice_interaction_framework.mojom:61: => (bool defined, bool voice_interaction, bool context); On 2017/07/06 ...
3 years, 5 months ago (2017-07-07 19:02:56 UTC) #8
dcheng
mojom lgtm
3 years, 5 months ago (2017-07-07 19:13:40 UTC) #9
Luis Héctor Chávez
https://codereview.chromium.org/2968073002/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2968073002/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode326 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:326: if (!enabled) nit: you can't elide braces since the ...
3 years, 5 months ago (2017-07-10 16:53:03 UTC) #10
stevenjb
https://codereview.chromium.org/2968073002/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2968073002/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode399 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:399: base::Bind([](mojom::VoiceInteractionStatusPtr status) { On 2017/07/10 16:53:02, Luis Héctor Chávez ...
3 years, 5 months ago (2017-07-10 17:57:07 UTC) #11
Muyuan
https://codereview.chromium.org/2968073002/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2968073002/diff/40001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode326 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:326: if (!enabled) On 2017/07/10 16:53:02, Luis Héctor Chávez wrote: ...
3 years, 5 months ago (2017-07-14 20:52:14 UTC) #12
Luis Héctor Chávez
lgtm with a few more nits. https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode337 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:337: auto status = ...
3 years, 5 months ago (2017-07-17 15:10:59 UTC) #13
Luis Héctor Chávez
https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode337 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:337: auto status = mojom::VoiceInteractionStatusPtr(); On 2017/07/17 15:10:58, Luis Héctor ...
3 years, 5 months ago (2017-07-17 15:15:16 UTC) #14
stevenjb
lgtm https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode405 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:405: return; {}
3 years, 5 months ago (2017-07-17 17:00:16 UTC) #15
Muyuan
https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc File chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc (right): https://codereview.chromium.org/2968073002/diff/60001/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc#newcode337 chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc:337: auto status = mojom::VoiceInteractionStatusPtr(); On 2017/07/17 15:15:16, Luis Héctor ...
3 years, 5 months ago (2017-07-18 18:31:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2968073002/80001
3 years, 5 months ago (2017-07-18 18:32:09 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/465977) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 5 months ago (2017-07-18 18:34:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2968073002/100001
3 years, 5 months ago (2017-07-18 19:43:22 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-07-18 22:38:31 UTC) #28
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/5bd014442c0d691253b028350664...

Powered by Google App Engine
This is Rietveld 408576698