diff options
author | noamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 22:08:33 +0000 |
---|---|---|
committer | noamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 22:08:33 +0000 |
commit | 87b7bbf529880a3fc457036f110077aaaa85d789 (patch) | |
tree | a90da33cd3095508e350d11ab5217413b457924d /chrome/browser/local_discovery/privet_http.h | |
parent | 52844912b438f8c6609a25a42b9807f6a924e690 (diff) | |
download | chromium_src-87b7bbf529880a3fc457036f110077aaaa85d789.zip chromium_src-87b7bbf529880a3fc457036f110077aaaa85d789.tar.gz chromium_src-87b7bbf529880a3fc457036f110077aaaa85d789.tar.bz2 |
Move /privet/info retry logic (mostly) into PrivetURLFetcher
PrivetURLFetcher is now responsible for requesting retries on X-Privet-Token
errors, and PrivetHTTPClientImpl is responsible for fulfilling them.
BUG=
Review URL: https://codereview.chromium.org/45793002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/local_discovery/privet_http.h')
-rw-r--r-- | chrome/browser/local_discovery/privet_http.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/local_discovery/privet_http.h b/chrome/browser/local_discovery/privet_http.h index 0f4d333..39fb502 100644 --- a/chrome/browser/local_discovery/privet_http.h +++ b/chrome/browser/local_discovery/privet_http.h @@ -50,7 +50,9 @@ class PrivetRegisterOperation { FAILURE_NETWORK, FAILURE_HTTP_ERROR, FAILURE_JSON_ERROR, - FAILURE_MALFORMED_RESPONSE + FAILURE_MALFORMED_RESPONSE, + FAILURE_TOKEN, + FAILURE_RETRY }; class Delegate { |