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

Issue 24924002: Switching getting/dismissing cards to new protocol (Closed)

Created:
7 years, 2 months ago by vadimt
Modified:
7 years, 2 months ago
Reviewers:
robliao, rgustafson, skare_
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Switching getting/dismissing cards to new protocol. BUG=164227 TEST=No Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227817

Patch Set 1 #

Patch Set 2 : Typo #

Total comments: 33

Patch Set 3 : robliao comments. #

Total comments: 6

Patch Set 4 : rgustafson's notes #

Patch Set 5 : Making actionUrls optional #

Total comments: 31

Patch Set 6 : More rgustafson's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+732 lines, -276 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 3 4 5 20 chunks +331 lines, -163 lines 0 comments Download
M chrome/browser/resources/google_now/background_unittest.gtestjs View 1 2 3 4 5 chunks +278 lines, -6 lines 0 comments Download
M chrome/browser/resources/google_now/cards.js View 1 2 3 4 5 6 chunks +64 lines, -26 lines 0 comments Download
M chrome/browser/resources/google_now/cards_unittest.gtestjs View 15 chunks +49 lines, -73 lines 0 comments Download
M chrome/browser/resources/google_now/utility.js View 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/resources/google_now/utility_unittest.gtestjs View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/test_api.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
vadimt
7 years, 2 months ago (2013-09-27 01:13:13 UTC) #1
robliao
https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js#newcode105 chrome/browser/resources/google_now/background.js:105: * version: number, This is listed as optional in ...
7 years, 2 months ago (2013-09-27 19:41:55 UTC) #2
vadimt
https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js#newcode105 chrome/browser/resources/google_now/background.js:105: * version: number, On 2013/09/27 19:41:55, Robert Liao wrote: ...
7 years, 2 months ago (2013-09-27 21:06:00 UTC) #3
robliao
Pending server discussion https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js#newcode497 chrome/browser/resources/google_now/background.js:497: now + receivedGroup.nextPollSeconds * MS_IN_SECOND; Self-explaining, ...
7 years, 2 months ago (2013-09-27 21:17:22 UTC) #4
vadimt
https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js#newcode497 chrome/browser/resources/google_now/background.js:497: now + receivedGroup.nextPollSeconds * MS_IN_SECOND; On 2013/09/27 21:17:22, Robert ...
7 years, 2 months ago (2013-09-30 17:07:04 UTC) #5
rgustafson
first round, will come back for more. https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/2001/chrome/browser/resources/google_now/background.js#newcode268 chrome/browser/resources/google_now/background.js:268: function showNotificationCards(cards) ...
7 years, 2 months ago (2013-09-30 21:26:09 UTC) #6
vadimt
https://codereview.chromium.org/24924002/diff/10001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/10001/chrome/browser/resources/google_now/background.js#newcode300 chrome/browser/resources/google_now/background.js:300: console.log('parseAndShowNotificationCards-delete-check ' + On 2013/09/30 21:26:09, rgustafson wrote: > ...
7 years, 2 months ago (2013-09-30 22:10:39 UTC) #7
rgustafson
lgtm
7 years, 2 months ago (2013-10-01 00:47:21 UTC) #8
rgustafson
I should really stop having two cls open right next to each other... undo lgtm, ...
7 years, 2 months ago (2013-10-01 00:49:28 UTC) #9
robliao
On 2013/10/01 00:49:28, rgustafson wrote: > I should really stop having two cls open right ...
7 years, 2 months ago (2013-10-01 00:59:20 UTC) #10
vadimt
On 2013/10/01 00:59:20, Robert Liao wrote: > On 2013/10/01 00:49:28, rgustafson wrote: > > I ...
7 years, 2 months ago (2013-10-01 19:31:25 UTC) #11
robliao
https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode108 chrome/browser/resources/google_now/background.js:108: * dismissal: Object This is also marked as optional.
7 years, 2 months ago (2013-10-01 20:08:04 UTC) #12
vadimt
https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode108 chrome/browser/resources/google_now/background.js:108: * dismissal: Object On 2013/10/01 20:08:04, Robert Liao wrote: ...
7 years, 2 months ago (2013-10-01 20:11:51 UTC) #13
robliao
lgtm https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/utility.js File chrome/browser/resources/google_now/utility.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/utility.js#newcode71 chrome/browser/resources/google_now/utility.js:71: if (contentType) We should assert that the content ...
7 years, 2 months ago (2013-10-01 21:52:43 UTC) #14
vadimt
https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/utility.js File chrome/browser/resources/google_now/utility.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/utility.js#newcode71 chrome/browser/resources/google_now/utility.js:71: if (contentType) On 2013/10/01 21:52:43, Robert Liao wrote: > ...
7 years, 2 months ago (2013-10-01 22:02:45 UTC) #15
rgustafson
https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode273 chrome/browser/resources/google_now/background.js:273: console.log('parseAndShowNotificationCards-get ' + showNotificationCards-get https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode279 chrome/browser/resources/google_now/background.js:279: console.log('parseAndShowNotificationCards-getAll ' + ...
7 years, 2 months ago (2013-10-04 16:56:47 UTC) #16
vadimt
https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode273 chrome/browser/resources/google_now/background.js:273: console.log('parseAndShowNotificationCards-get ' + On 2013/10/04 16:56:47, rgustafson wrote: > ...
7 years, 2 months ago (2013-10-07 20:29:53 UTC) #17
rgustafson
lgtm https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode447 chrome/browser/resources/google_now/background.js:447: * Parses JSON response from the notification server, ...
7 years, 2 months ago (2013-10-08 18:23:26 UTC) #18
robliao
https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode447 chrome/browser/resources/google_now/background.js:447: * Parses JSON response from the notification server, shows ...
7 years, 2 months ago (2013-10-08 20:48:14 UTC) #19
skare_
lgtm https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/24924002/diff/28001/chrome/browser/resources/google_now/background.js#newcode447 chrome/browser/resources/google_now/background.js:447: * Parses JSON response from the notification server, ...
7 years, 2 months ago (2013-10-08 23:04:10 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/24924002/46001
7 years, 2 months ago (2013-10-09 15:29:22 UTC) #21
commit-bot: I haz the power
7 years, 2 months ago (2013-10-09 21:58:39 UTC) #22
Message was sent while issue was closed.
Change committed as 227817

Powered by Google App Engine
This is Rietveld 408576698