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

Unified Diff: components/ntp_snippets/content_suggestions_provider.h

Issue 2236303002: Make OfflinePage ContentSuggestions dismissable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: base::Value --> std::unique_ptr<base::Value> Created 4 years, 4 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 | « chrome/browser/prefs/browser_prefs.cc ('k') | components/ntp_snippets/content_suggestions_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/content_suggestions_provider.h
diff --git a/components/ntp_snippets/content_suggestions_provider.h b/components/ntp_snippets/content_suggestions_provider.h
index 2f343a47dc4bf918334e9eea8d58026f078bf55b..23d403c44dc5012e025e00df10fac45e96e07e5a 100644
--- a/components/ntp_snippets/content_suggestions_provider.h
+++ b/components/ntp_snippets/content_suggestions_provider.h
@@ -123,11 +123,12 @@ class ContentSuggestionsProvider {
// application-wide, because this provider is the only one that provides
// suggestions for that category.
std::string MakeUniqueID(Category category,
- const std::string& within_category_id);
+ const std::string& within_category_id) const;
// Reverse functions for MakeUniqueID()
- Category GetCategoryFromUniqueID(const std::string& unique_id);
- std::string GetWithinCategoryIDFromUniqueID(const std::string& unique_id);
+ Category GetCategoryFromUniqueID(const std::string& unique_id) const;
+ std::string GetWithinCategoryIDFromUniqueID(
+ const std::string& unique_id) const;
Observer* observer() const { return observer_; }
CategoryFactory* category_factory() const { return category_factory_; }
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | components/ntp_snippets/content_suggestions_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698