Implement retry for Register call in GCMNetworkChannel
commit8499597e615f8da328e797487d7fb9b4a0d70ed0
authorpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Feb 2014 06:15:55 +0000 (5 06:15 +0000)
committerpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Feb 2014 06:15:55 +0000 (5 06:15 +0000)
tree50bb856674cf6ac3748e0277293e6618e18964fc
parente0a9ca4e6fe940806868a6fcfe48202c7c5d456c
Implement retry for Register call in GCMNetworkChannel

When Register fails with transient erro retry with exponential backoff.

BUG=335670

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248872 0039d316-1c4b-4281-b951-d872f2087c98
sync/notifier/gcm_network_channel.cc
sync/notifier/gcm_network_channel.h
sync/notifier/gcm_network_channel_unittest.cc