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

Issue 207243002: Google Now Card Processing Pipeline Refactor (Closed)

Created:
6 years, 9 months ago by robliao
Modified:
6 years, 8 months ago
Reviewers:
xiyuan, rgustafson, skare_
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Google Now Card Processing Pipeline Refactor This major refactor covers two themes: 1) Use promises to link each pipeline stage together. 2) Decouple the pipeline ordering from each individual function. Along with that, added unit tests that cover various stages of the pipeline in isolation. BUG=164227 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261553

Patch Set 1 #

Patch Set 2 : Rebase to r260580 #

Total comments: 19

Patch Set 3 : CR Feedback #

Total comments: 1

Patch Set 4 : Capitalization #

Patch Set 5 : Bugfix #

Total comments: 4

Patch Set 6 : CR Feedback #

Patch Set 7 : Fix Unit Test #

Patch Set 8 : Rebase Unit Tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+901 lines, -752 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 3 4 5 12 chunks +144 lines, -130 lines 0 comments Download
M chrome/browser/resources/google_now/background_test_util.js View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/google_now/background_unittest.gtestjs View 1 2 3 4 5 6 7 12 chunks +754 lines, -622 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
robliao
6 years, 9 months ago (2014-03-20 23:28:56 UTC) #1
robliao
Rebase to r260580
6 years, 8 months ago (2014-03-31 21:00:27 UTC) #2
rgustafson
main file, lots o nitpicky https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background.js#newcode459 chrome/browser/resources/google_now/background.js:459: * Combines notification groups ...
6 years, 8 months ago (2014-04-01 23:51:48 UTC) #3
robliao
https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background.js#newcode459 chrome/browser/resources/google_now/background.js:459: * Combines notification groups into a set of Chrome ...
6 years, 8 months ago (2014-04-02 00:42:05 UTC) #4
robliao
https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background.js#newcode590 chrome/browser/resources/google_now/background.js:590: var isBelowThreshold = Huh, that's supposed to be... // ...
6 years, 8 months ago (2014-04-02 00:43:01 UTC) #5
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 8 months ago (2014-04-02 00:52:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/207243002/40001
6 years, 8 months ago (2014-04-02 00:53:20 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 00:53:22 UTC) #8
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 8 months ago (2014-04-02 00:53:22 UTC) #9
rgustafson
lgtm https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background_unittest.gtestjs File chrome/browser/resources/google_now/background_unittest.gtestjs (right): https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background_unittest.gtestjs#newcode884 chrome/browser/resources/google_now/background_unittest.gtestjs:884: TEST_F(TEST_NAME, 'showNotificationGroups', function() { show -> Show https://codereview.chromium.org/207243002/diff/40001/chrome/browser/resources/google_now/background.js ...
6 years, 8 months ago (2014-04-02 18:14:05 UTC) #10
robliao
https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background_unittest.gtestjs File chrome/browser/resources/google_now/background_unittest.gtestjs (right): https://codereview.chromium.org/207243002/diff/20001/chrome/browser/resources/google_now/background_unittest.gtestjs#newcode884 chrome/browser/resources/google_now/background_unittest.gtestjs:884: TEST_F(TEST_NAME, 'showNotificationGroups', function() { On 2014/04/02 18:14:06, rgustafson wrote: ...
6 years, 8 months ago (2014-04-02 21:53:19 UTC) #11
robliao
Bugfix
6 years, 8 months ago (2014-04-02 21:56:20 UTC) #12
rgustafson
https://codereview.chromium.org/207243002/diff/80001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/207243002/diff/80001/chrome/browser/resources/google_now/background.js#newcode491 chrome/browser/resources/google_now/background.js:491: // Allow this to continue. We still need to ...
6 years, 8 months ago (2014-04-02 22:23:08 UTC) #13
robliao
https://codereview.chromium.org/207243002/diff/80001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/207243002/diff/80001/chrome/browser/resources/google_now/background.js#newcode491 chrome/browser/resources/google_now/background.js:491: // Allow this to continue. We still need to ...
6 years, 8 months ago (2014-04-02 23:24:10 UTC) #14
skare_
cool, looking good, just one question (am partway through tests now, they're looking good too) ...
6 years, 8 months ago (2014-04-03 00:11:59 UTC) #15
robliao
https://codereview.chromium.org/207243002/diff/80001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/207243002/diff/80001/chrome/browser/resources/google_now/background.js#newcode967 chrome/browser/resources/google_now/background.js:967: chrome.storage.local.clear(); localStorage is unaffected with this clearing. The code ...
6 years, 8 months ago (2014-04-03 00:43:22 UTC) #16
skare_
lgtm sg, thanks
6 years, 8 months ago (2014-04-03 17:48:59 UTC) #17
robliao
xiyuan: Please provide owner approval of this CL. Thanks!
6 years, 8 months ago (2014-04-03 18:29:49 UTC) #18
robliao
Fix unit test.
6 years, 8 months ago (2014-04-03 18:44:19 UTC) #19
xiyuan
stampy LGTM
6 years, 8 months ago (2014-04-03 19:31:28 UTC) #20
robliao
6 years, 8 months ago (2014-04-03 20:00:34 UTC) #21
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 8 months ago (2014-04-03 20:00:45 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/207243002/140001
6 years, 8 months ago (2014-04-03 20:01:06 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 22:31:32 UTC) #24
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 22:31:33 UTC) #25
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 8 months ago (2014-04-03 22:35:08 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/207243002/140001
6 years, 8 months ago (2014-04-03 22:35:35 UTC) #27
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 22:37:55 UTC) #28
Message was sent while issue was closed.
Change committed as 261553

Powered by Google App Engine
This is Rietveld 408576698