DescriptionUsing “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 #
Messages
Total messages: 10 (0 generated)
|