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

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 2319553005: Remove NTPSnippetsService::disabled_reason(). (Closed)
Patch Set: x Created 4 years, 3 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
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_status_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/ntp_snippets_service.h
diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
index 701d08a29b675ef0a3ffdd46f095e4c12288810b..a57d3d4872e95a1b357e5b4caf1127d9f75ed968 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -121,12 +121,6 @@ class NTPSnippetsService : public ContentSuggestionsProvider,
return snippets_fetcher_.get();
}
- // Returns a reason why the service is disabled, or DisabledReason::NONE
- // if it's not.
- DisabledReason disabled_reason() const {
- return snippets_status_service_->disabled_reason();
- }
-
// (Re)schedules the periodic fetching of snippets. This is necessary because
// the schedule depends on the time of day.
void RescheduleFetching();
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_status_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698