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

Unified Diff: components/ntp_snippets/content_suggestions_service.h

Issue 2790183002: Add UMA for the content suggestions settings (Closed)
Patch Set: address comments and rebase Created 3 years, 8 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/content_suggestions_service.h
diff --git a/components/ntp_snippets/content_suggestions_service.h b/components/ntp_snippets/content_suggestions_service.h
index 40d665c78e818a179cf0381e6c4d0cac7046e4c3..9bac241d728ed05d3e3b0188e5c449b55c52ed73 100644
--- a/components/ntp_snippets/content_suggestions_service.h
+++ b/components/ntp_snippets/content_suggestions_service.h
@@ -231,18 +231,18 @@ class ContentSuggestionsService : public KeyedService,
// supports it).
void ClearDismissedSuggestionsForDebugging(Category category);
- // Enables or disables the remote suggestions service.
- void SetRemoteSuggestionsServiceEnabled(bool enabled);
+ // Enables or disables the remote suggestions provider.
+ void SetRemoteSuggestionsEnabled(bool enabled);
- // Returns true if the remote suggestions service is enabled.
- bool IsRemoteSuggestionsServiceEnabled() const;
+ // Returns true if the remote suggestions provider is enabled.
+ bool AreRemoteSuggestionsEnabled() const;
- // Returns true if the remote service is managed by an adminstrator's policy.
- bool IsRemoteSuggestionsServiceManaged() const;
+ // Returns true if the remote provider is managed by an adminstrator's policy.
+ bool AreRemoteSuggestionsManaged() const;
- // Returns true if the remote service is managed by the guardian/parent of a
+ // Returns true if the remote provider is managed by the guardian/parent of a
// child account.
- bool IsRemoteSuggestionsServiceManagedByCustodian() const;
+ bool AreRemoteSuggestionsManagedByCustodian() const;
// The reference to the RemoteSuggestionsProvider provider should
// only be set by the factory and only used for debugging.
« no previous file with comments | « components/ntp_snippets/content_suggestions_metrics.cc ('k') | components/ntp_snippets/content_suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698