chrome/browser/signin/oauth2_token_service.cc
// Returns an exponential backoff in milliseconds including randomness less than
// 1000 ms when retrying fetching an OAuth2 access token.
Returns an exponential backoff in milliseconds including randomness less than
1000 ms when retrying fetching an OAuth2 access token.
Returns an exponential backoff in milliseconds including randomness less than 1000 ms when retrying fetching an OAuth2 access token .
int64 ComputeExponentialBackOffMilliseconds(int retry_num) {
  DCHECK(retry_num < kMaxFetchRetryNum);
  int64 exponential_backoff_in_seconds = 1 << retry_num;
  return (exponential_backoff_in_seconds + base::RandDouble()) * 1000;
}
int64 ComputeExponentialBackOffMilliseconds ( int retry_num ) { DCHECK ( retry_num < kMaxFetchRetryNum ) ; int64 exponential_backoff_in_seconds = 1 << retry_num ; return ( exponential_backoff_in_seconds + base :: RandDouble ( ) ) * 1000 ; }
Returns an exponential backoff in milliseconds including randomness less than
1000 ms when retrying fetching an OAuth2 access token.
Returns an exponential backoff in milliseconds including randomness less than 1000 ms when retrying fetching an OAuth2 access token .
// Returns a backoff with randomness < 1000ms