Searched refs:max_retries (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/google_apis/gaia/
H A Dgaia_oauth_client.cc46 int max_retries,
51 int max_retries,
54 int max_retries,
57 int max_retries,
60 int max_retries,
63 int max_retries,
86 int max_retries,
90 int max_retries,
105 int max_retries,
119 post_body, max_retries, delegat
102 GetTokensFromAuthCode( const OAuthClientInfo& oauth_client_info, const std::string& auth_code, int max_retries, GaiaOAuthClient::Delegate* delegate) argument
122 RefreshToken( const OAuthClientInfo& oauth_client_info, const std::string& refresh_token, const std::vector<std::string>& scopes, int max_retries, GaiaOAuthClient::Delegate* delegate) argument
147 GetUserEmail(const std::string& oauth_access_token, int max_retries, Delegate* delegate) argument
153 GetUserId(const std::string& oauth_access_token, int max_retries, Delegate* delegate) argument
159 GetUserInfo(const std::string& oauth_access_token, int max_retries, Delegate* delegate) argument
165 GetUserInfoImpl( RequestType type, const std::string& oauth_access_token, int max_retries, Delegate* delegate) argument
192 GetTokenInfo(const std::string& oauth_access_token, int max_retries, Delegate* delegate) argument
206 MakeGaiaRequest( const GURL& url, const std::string& post_body, int max_retries, GaiaOAuthClient::Delegate* delegate) argument
354 GetTokensFromAuthCode( const OAuthClientInfo& oauth_client_info, const std::string& auth_code, int max_retries, Delegate* delegate) argument
365 RefreshToken( const OAuthClientInfo& oauth_client_info, const std::string& refresh_token, const std::vector<std::string>& scopes, int max_retries, Delegate* delegate) argument
378 GetUserEmail(const std::string& access_token, int max_retries, Delegate* delegate) argument
384 GetUserId(const std::string& access_token, int max_retries, Delegate* delegate) argument
390 GetUserInfo(const std::string& access_token, int max_retries, Delegate* delegate) argument
396 GetTokenInfo(const std::string& access_token, int max_retries, Delegate* delegate) argument
[all...]
H A Dgaia_oauth_client.h60 // exhausted. If max_retries is -1, this is never invoked.
70 // In the below methods, |max_retries| specifies the maximum number of times
73 // the input arguments). Setting |max_retries| to -1 implies infinite retries.
77 // can be used to fetch a fresh access token. See |max_retries| docs above.
80 int max_retries,
87 // appropriate permissions). See |max_retries| docs above.
91 int max_retries,
97 // See |max_retries| docs above.
99 int max_retries,
105 // See |max_retries| doc
[all...]
H A Doauth2_token_service.h201 void set_max_authorization_token_fetch_retries_for_testing(int max_retries);
H A Doauth2_token_service.cc792 int max_retries) {
794 max_fetch_retry_num_ = max_retries;
791 set_max_authorization_token_fetch_retries_for_testing( int max_retries) argument
/external/chromium_org/chrome/browser/extensions/
H A Dwebstore_data_fetcher.h41 void set_max_auto_retries(int max_retries) { argument
42 max_auto_retries_ = max_retries;
/external/chromium_org/chrome/service/cloud_print/
H A Dcloud_print_url_fetcher.h126 int max_retries,
131 int max_retries,
152 int max_retries,
H A Dcloud_print_url_fetcher.cc148 int max_retries,
150 StartRequestHelper(type, url, net::URLFetcher::GET, delegate, max_retries,
158 int max_retries,
162 StartRequestHelper(type, url, net::URLFetcher::POST, delegate, max_retries,
256 int max_retries,
270 request_->SetMaxRetriesOn5xx(max_retries);
144 StartGetRequest( RequestType type, const GURL& url, Delegate* delegate, int max_retries, const std::string& additional_headers) argument
154 StartPostRequest( RequestType type, const GURL& url, Delegate* delegate, int max_retries, const std::string& post_data_mime_type, const std::string& post_data, const std::string& additional_headers) argument
251 StartRequestHelper( RequestType type, const GURL& url, net::URLFetcher::RequestType request_type, Delegate* delegate, int max_retries, const std::string& post_data_mime_type, const std::string& post_data, const std::string& additional_headers) argument
H A Dcloud_print_connector.h134 int max_retries,
138 int max_retries,
H A Dcloud_print_url_fetcher_unittest.cc93 virtual void CreateFetcher(const GURL& url, int max_retries);
214 void CloudPrintURLFetcherTest::CreateFetcher(const GURL& url, int max_retries) { argument
224 max_retries_ = max_retries;
H A Dcloud_print_connector.cc336 int max_retries,
341 url, this, max_retries, std::string());
347 int max_retries,
354 type, url, this, max_retries, mime_type, post_data, std::string());
335 StartGetRequest(const GURL& url, int max_retries, ResponseHandler handler) argument
344 StartPostRequest( CloudPrintURLFetcher::RequestType type, const GURL& url, int max_retries, const std::string& mime_type, const std::string& post_data, ResponseHandler handler) argument
/external/chromium_org/net/url_request/
H A Durl_fetcher_impl.cc106 void URLFetcherImpl::SetMaxRetriesOn5xx(int max_retries) { argument
107 core_->SetMaxRetriesOn5xx(max_retries);
119 void URLFetcherImpl::SetAutomaticallyRetryOnNetworkChanges(int max_retries) { argument
120 core_->SetAutomaticallyRetryOnNetworkChanges(max_retries);
H A Durl_fetcher.h224 // |max_retries| is the maximum number of times URLFetcher will retry a
227 virtual void SetMaxRetriesOn5xx(int max_retries) = 0;
234 // Retries up to |max_retries| times when requests fail with
236 // retried |max_retries| times then it is propagated to the observer.
237 virtual void SetAutomaticallyRetryOnNetworkChanges(int max_retries) = 0;
H A Durl_fetcher_impl.h69 virtual void SetMaxRetriesOn5xx(int max_retries) OVERRIDE;
72 virtual void SetAutomaticallyRetryOnNetworkChanges(int max_retries) OVERRIDE;
H A Dtest_url_fetcher_factory.cc130 void TestURLFetcher::SetMaxRetriesOn5xx(int max_retries) { argument
131 fake_max_retries_ = max_retries;
142 void TestURLFetcher::SetAutomaticallyRetryOnNetworkChanges(int max_retries) { argument
H A Durl_fetcher_core.h94 void SetMaxRetriesOn5xx(int max_retries);
97 void SetAutomaticallyRetryOnNetworkChanges(int max_retries);
H A Durl_fetcher_core.cc257 void URLFetcherCore::SetMaxRetriesOn5xx(int max_retries) { argument
258 max_retries_on_5xx_ = max_retries;
269 void URLFetcherCore::SetAutomaticallyRetryOnNetworkChanges(int max_retries) { argument
270 max_retries_on_network_changes_ = max_retries;
H A Dtest_url_fetcher_factory.h121 virtual void SetMaxRetriesOn5xx(int max_retries) OVERRIDE;
124 virtual void SetAutomaticallyRetryOnNetworkChanges(int max_retries) OVERRIDE;
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
H A Dapi_utils.py116 max_retries=5,
133 capped by max_retries.
134 max_retries: max number of times to retry. Set this to 0 for no retry.
148 self.max_retries = self._check('max_retries', max_retries, True, int)
150 if self.min_retries > self.max_retries:
151 self.min_retries = self.max_retries
214 if (n > self.max_retries or

Completed in 4269 milliseconds