Chromium Code Reviews| Index: components/ntp_snippets/ntp_snippets_fetcher.h |
| diff --git a/components/ntp_snippets/ntp_snippets_fetcher.h b/components/ntp_snippets/ntp_snippets_fetcher.h |
| index 11a4e40f568433f00c4529dd1e40d0dfb785f806..74face472daaa105eaf839b66b161b0c19d465ad 100644 |
| --- a/components/ntp_snippets/ntp_snippets_fetcher.h |
| +++ b/components/ntp_snippets/ntp_snippets_fetcher.h |
| @@ -230,6 +230,9 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer, |
| // Request throttler for limiting requests. |
| RequestThrottler request_throttler_; |
| + // When a token request gets canceled, we want to retry for _one_ time. |
|
Marc Treib
2016/08/11 10:11:03
nit: s/for one time/once/
jkrcal
2016/08/11 12:31:48
Done.
|
| + bool oauth_token_retried_; |
| + |
| base::WeakPtrFactory<NTPSnippetsFetcher> weak_ptr_factory_; |
| DISALLOW_COPY_AND_ASSIGN(NTPSnippetsFetcher); |