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

Issue 27223006: Requesting cards on push messages (Closed)

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

Description

Requesting cards on push messages. When a new push message arrives, making a server request for all groups. BUG=164227 TEST=Now, there is no reasonable way to test it; stay tuned! Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229311

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase and robliao comments #

Total comments: 18

Patch Set 3 : More robliao@ comments #

Patch Set 4 : rgustafson's comments #

Patch Set 5 : Fixing unit tests #

Patch Set 6 : More rgustafson's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -34 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 3 4 5 5 chunks +70 lines, -25 lines 0 comments Download
M chrome/browser/resources/google_now/background_test_util.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/google_now/manifest.json View 1 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/google_now/utility.js View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/api/_manifest_features.json View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
vadimt
7 years, 2 months ago (2013-10-14 23:39:07 UTC) #1
robliao
https://codereview.chromium.org/27223006/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/1/chrome/browser/resources/google_now/background.js#newcode1191 chrome/browser/resources/google_now/background.js:1191: console.log(JSON.stringify(message)); This should either be removed or annotated with ...
7 years, 2 months ago (2013-10-15 00:04:54 UTC) #2
robliao
https://codereview.chromium.org/27223006/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/1/chrome/browser/resources/google_now/background.js#newcode1191 chrome/browser/resources/google_now/background.js:1191: console.log(JSON.stringify(message)); This should either be removed or annotated with ...
7 years, 2 months ago (2013-10-15 00:04:54 UTC) #3
vadimt
https://codereview.chromium.org/27223006/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/1/chrome/browser/resources/google_now/background.js#newcode1191 chrome/browser/resources/google_now/background.js:1191: console.log(JSON.stringify(message)); On 2013/10/15 00:04:55, Robert Liao wrote: > This ...
7 years, 2 months ago (2013-10-15 01:25:47 UTC) #4
robliao
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json File chrome/browser/resources/google_now/manifest.json (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json#newcode2 chrome/browser/resources/google_now/manifest.json:2: //chrome-extension://pafkbggdmjlpgkdkcbjmhmfcdpncadgh One more change required in utility.js. https://code.google.com/p/chromium/codesearch#search/&q=pmofbkohncoogjjhahejjfbppikbjigm
7 years, 2 months ago (2013-10-15 16:57:04 UTC) #5
vadimt
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json File chrome/browser/resources/google_now/manifest.json (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json#newcode2 chrome/browser/resources/google_now/manifest.json:2: //chrome-extension://pafkbggdmjlpgkdkcbjmhmfcdpncadgh On 2013/10/15 16:57:05, Robert Liao wrote: > One ...
7 years, 2 months ago (2013-10-15 17:40:26 UTC) #6
robliao
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json File chrome/browser/resources/google_now/manifest.json (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json#newcode2 chrome/browser/resources/google_now/manifest.json:2: //chrome-extension://pafkbggdmjlpgkdkcbjmhmfcdpncadgh Then the comment should be more like [Extension ...
7 years, 2 months ago (2013-10-15 17:44:47 UTC) #7
vadimt
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json File chrome/browser/resources/google_now/manifest.json (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/manifest.json#newcode2 chrome/browser/resources/google_now/manifest.json:2: //chrome-extension://pafkbggdmjlpgkdkcbjmhmfcdpncadgh On 2013/10/15 17:44:47, Robert Liao wrote: > Then ...
7 years, 2 months ago (2013-10-15 17:52:20 UTC) #8
rgustafson
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js#newcode1186 chrome/browser/resources/google_now/background.js:1186: if (items && items.lastPollNowPayload != message.payload) { What are ...
7 years, 2 months ago (2013-10-15 17:57:51 UTC) #9
robliao
lgtm
7 years, 2 months ago (2013-10-15 17:59:14 UTC) #10
vadimt
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js#newcode1186 chrome/browser/resources/google_now/background.js:1186: if (items && items.lastPollNowPayload != message.payload) { On 2013/10/15 ...
7 years, 2 months ago (2013-10-15 19:41:42 UTC) #11
rgustafson
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js#newcode563 chrome/browser/resources/google_now/background.js:563: setAuthorization(request, function(success) { But the signed-in condition isn't missing, ...
7 years, 2 months ago (2013-10-15 20:56:54 UTC) #12
vadimt
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js#newcode563 chrome/browser/resources/google_now/background.js:563: setAuthorization(request, function(success) { On 2013/10/15 20:56:54, rgustafson wrote: > ...
7 years, 2 months ago (2013-10-15 21:14:09 UTC) #13
rgustafson
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js#newcode563 chrome/browser/resources/google_now/background.js:563: setAuthorization(request, function(success) { On 2013/10/15 21:14:09, vadimt wrote: > ...
7 years, 2 months ago (2013-10-16 17:14:32 UTC) #14
vadimt
https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/27223006/diff/6001/chrome/browser/resources/google_now/background.js#newcode563 chrome/browser/resources/google_now/background.js:563: setAuthorization(request, function(success) { On 2013/10/16 17:14:32, rgustafson wrote: > ...
7 years, 2 months ago (2013-10-16 20:10:20 UTC) #15
rgustafson
lgtm
7 years, 2 months ago (2013-10-16 21:47:33 UTC) #16
vadimt
mpcomplete, please provide OWNER's approval for files in chrome\common\extensions\api\ The reason for changing the extension ...
7 years, 2 months ago (2013-10-16 22:28:26 UTC) #17
Matt Perry
You could add the new ID and leave the old one in there if you ...
7 years, 2 months ago (2013-10-16 22:37:36 UTC) #18
vadimt
Thanks! Since this is a component extension, and the old ID gets removed from Chrome ...
7 years, 2 months ago (2013-10-16 22:39:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/27223006/33001
7 years, 2 months ago (2013-10-17 01:51:52 UTC) #20
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-17 03:41:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/27223006/33001
7 years, 2 months ago (2013-10-17 14:28:03 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/27223006/33001
7 years, 2 months ago (2013-10-18 01:38:46 UTC) #23
commit-bot: I haz the power
7 years, 2 months ago (2013-10-18 04:00:33 UTC) #24
Message was sent while issue was closed.
Change committed as 229311

Powered by Google App Engine
This is Rietveld 408576698