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.

Review URL: https://codereview.chromium.org/53823002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232365 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed