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

Issue 493203004: Add a StateManager for managing hotwording state based on various factors (Closed)

Created:
6 years, 4 months ago by Anand Mistry (off Chromium)
Modified:
6 years, 3 months ago
Reviewers:
rpetterson, Dan Beam
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, rlp+watch_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@hotword-nacl-manager
Project:
chromium
Visibility:
Public.

Description

Add a StateManager for managing hotwording state based on various factors such as user settings. At the same time, hook up the StateManager to some events. BUG=397019 Committed: https://crrev.com/fff0b9adc25f6f297c875e293825ca41cbead657 Cr-Commit-Position: refs/heads/master@{#293876}

Patch Set 1 #

Total comments: 33

Patch Set 2 : Rebase. #

Patch Set 3 : Address review comments. #

Total comments: 18

Patch Set 4 : Address more review comments. #

Patch Set 5 : Minor comment change. #

Patch Set 6 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -10 lines) Patch
M chrome/browser/resources/component_extension_resources.grd View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/hotword/manager.js View 1 2 3 1 chunk +46 lines, -9 lines 0 comments Download
M chrome/browser/resources/hotword/manifest.json View 1 2 4 chunks +5 lines, -1 line 0 comments Download
A chrome/browser/resources/hotword/state_manager.js View 1 2 3 4 1 chunk +195 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
Anand Mistry (off Chromium)
6 years, 4 months ago (2014-08-22 06:58:22 UTC) #1
Dan Beam
https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js#newcode22 chrome/browser/resources/hotword/manager.js:22: }.bind(this)); remove .bind(this) https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js#newcode27 chrome/browser/resources/hotword/manager.js:27: }.bind(this)); remove .bind(this) https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js#newcode32 ...
6 years, 3 months ago (2014-08-26 18:40:52 UTC) #2
rpetterson
LGTM for overall functionality with a nit and a general comment: In the past we've ...
6 years, 3 months ago (2014-08-26 19:16:59 UTC) #3
Anand Mistry (off Chromium)
https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js#newcode22 chrome/browser/resources/hotword/manager.js:22: }.bind(this)); On 2014/08/26 18:40:51, Dan Beam wrote: > remove ...
6 years, 3 months ago (2014-08-27 07:10:56 UTC) #4
Dan Beam
https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js#newcode5 chrome/browser/resources/hotword/manager.js:5: 'use strict'; we generally scope 'use strict' just in ...
6 years, 3 months ago (2014-08-27 20:08:37 UTC) #5
Anand Mistry (off Chromium)
https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/493203004/diff/1/chrome/browser/resources/hotword/manager.js#newcode32 chrome/browser/resources/hotword/manager.js:32: if (info.id == hotword.constants.SHARED_MODULE_ID) { On 2014/08/27 20:08:36, Dan ...
6 years, 3 months ago (2014-08-28 00:59:26 UTC) #6
Dan Beam
lgtm https://codereview.chromium.org/493203004/diff/40001/chrome/browser/resources/hotword/manager.js File chrome/browser/resources/hotword/manager.js (right): https://codereview.chromium.org/493203004/diff/40001/chrome/browser/resources/hotword/manager.js#newcode4 chrome/browser/resources/hotword/manager.js:4: On 2014/08/28 00:59:25, Anand Mistry wrote: > On ...
6 years, 3 months ago (2014-09-03 19:08:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amistry@chromium.org/493203004/100001
6 years, 3 months ago (2014-09-09 00:28:43 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (id:100001) as e3508bf760974d05c6a73862127f1100036904e9
6 years, 3 months ago (2014-09-09 06:44:47 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:51:24 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fff0b9adc25f6f297c875e293825ca41cbead657
Cr-Commit-Position: refs/heads/master@{#293876}

Powered by Google App Engine
This is Rietveld 408576698