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..e46e64df8f79a8bdfe8a14eaf32317a5c3e8ebfb 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 get's cancelled - we want to retry for _one_ time. |
|
Marc Treib
2016/08/11 09:35:17
nit: gets, not apostrophe. Also comma instead of d
jkrcal
2016/08/11 10:03:56
Done.
|
| + bool oauth_token_retried_; |
| + |
| base::WeakPtrFactory<NTPSnippetsFetcher> weak_ptr_factory_; |
| DISALLOW_COPY_AND_ASSIGN(NTPSnippetsFetcher); |