Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: components/ntp_snippets/ntp_snippets_fetcher.h

Issue 1699143002: [NTP Snippets] Schedule periodic fetching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets_feature
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 158da067a49e7af196d90488df5febdb86cfc2a5..ddb4ffc974b47b3604983c719403b6bdf262d833 100644
--- a/components/ntp_snippets/ntp_snippets_fetcher.h
+++ b/components/ntp_snippets/ntp_snippets_fetcher.h
@@ -81,6 +81,8 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer,
scoped_ptr<OAuth2TokenService> token_service_;
scoped_ptr<OAuth2TokenService::Request> oauth_request_;
+ bool waiting_for_refresh_token_;
+
SnippetsAvailableCallbackList callback_list_;
base::WeakPtrFactory<NTPSnippetsFetcher> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698