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

Issue 53823002: Using “is opted in” server request (Closed)

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

Description

Using “is opted in” server request. Also, taking into account ‘googleNowDisabled’ value in server response. BUG=164227 TEST= 1. Install Chrome, make sure the first request it does is not poll for cards, but a poll for opted-in state (URL + ‘settings/optin’). If the user is opted in, this should be followed by a normal request for cards. If the user is opted out, make sure the next poll is in 1 week (stop by to learn how to check this). 2. While polling for cards, opt out the user fro Now. Force a server ping; make sure that the next poll is scheduled to be in 2 week. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232365

Patch Set 1 #

Total comments: 6

Patch Set 2 : skare@ comments #

Total comments: 4

Patch Set 3 : rgustafson's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -26 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 8 chunks +92 lines, -25 lines 0 comments Download
M chrome/browser/resources/google_now/background_unittest.gtestjs View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
vadimt
Note that I couldn't quickly make experimental variation params work (they used to work for ...
7 years, 1 month ago (2013-10-31 00:37:17 UTC) #1
skare_
https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js#newcode430 chrome/browser/resources/google_now/background.js:430: * information. If this map is empty, the user ...
7 years, 1 month ago (2013-10-31 00:49:21 UTC) #2
vadimt
https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js#newcode430 chrome/browser/resources/google_now/background.js:430: * information. If this map is empty, the user ...
7 years, 1 month ago (2013-10-31 14:36:00 UTC) #3
robliao
lgtm
7 years, 1 month ago (2013-10-31 16:42:36 UTC) #4
rgustafson
https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js#newcode430 chrome/browser/resources/google_now/background.js:430: * information. If this map is empty, the user ...
7 years, 1 month ago (2013-10-31 18:37:58 UTC) #5
vadimt
https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js File chrome/browser/resources/google_now/background.js (right): https://codereview.chromium.org/53823002/diff/1/chrome/browser/resources/google_now/background.js#newcode430 chrome/browser/resources/google_now/background.js:430: * information. If this map is empty, the user ...
7 years, 1 month ago (2013-10-31 19:59:56 UTC) #6
rgustafson
lgtm
7 years, 1 month ago (2013-10-31 20:50:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/53823002/110001
7 years, 1 month ago (2013-10-31 21:12:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/53823002/110001
7 years, 1 month ago (2013-10-31 23:48:14 UTC) #9
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 13:57:10 UTC) #10
Message was sent while issue was closed.
Change committed as 232365

Powered by Google App Engine
This is Rietveld 408576698