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

Unified Diff: components/ntp_snippets/remote/ntp_snippets_status_service.h

Issue 2378323002: 📰 Show the Sign In promo as a separate card from the section (Closed)
Patch Set: fix compilation Created 4 years, 2 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/remote/ntp_snippets_status_service.h
diff --git a/components/ntp_snippets/remote/ntp_snippets_status_service.h b/components/ntp_snippets/remote/ntp_snippets_status_service.h
index c75bcf620598f2674a52f8faacfee6365fe43db3..a5e8e08d5e9e2e029724dac8c44704e2acecbca5 100644
--- a/components/ntp_snippets/remote/ntp_snippets_status_service.h
+++ b/components/ntp_snippets/remote/ntp_snippets_status_service.h
@@ -53,7 +53,9 @@ class NTPSnippetsStatusService : public SigninManagerBase::Observer {
const std::string& username) override;
// Callback for the PrefChangeRegistrar.
- void OnStateChanged();
+ void OnSnippetsEnabledChanged();
+
+ void OnStateChanged(DisabledReason new_disabled_reason);
DisabledReason GetDisabledReasonFromDeps() const;
« no previous file with comments | « components/ntp_snippets/remote/ntp_snippets_service.cc ('k') | components/ntp_snippets/remote/ntp_snippets_status_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698