summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 14:57:17 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 14:57:17 +0000
commit1555f8cd3784f3d980098822079e43e18bdb8ba2 (patch)
treee9e56b651d9127794fb0befb091d59e11acf1304 /ppapi
parentab6ce194c68e78f474ec39cdae6cb941fa9eb237 (diff)
downloadchromium_src-1555f8cd3784f3d980098822079e43e18bdb8ba2.zip
chromium_src-1555f8cd3784f3d980098822079e43e18bdb8ba2.tar.gz
chromium_src-1555f8cd3784f3d980098822079e43e18bdb8ba2.tar.bz2
contacts: Rate-limit GData photo requests and handle 404s.
The API returns 503 errors if we try to download photos too quickly. This change adds cheesy rate-limiting so we don't request more than 10 photos per second (which appears to be the undocumented limit) and also makes us retry when we get a 503. I'm also making GDataContactsService report success even when we got 404 errors for some photos, as I see this happen with my personal account. :-/ BUG=128805 TEST=none Review URL: https://chromiumcodereview.appspot.com/10823182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
0 files changed, 0 insertions, 0 deletions