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

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 2149453004: Implement first version of OfflinePageSuggestionsProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove separate build target for offline_page_suggestions Created 4 years, 5 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_service.h
diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
index 6e13c3c944775b372f72dbcadf93f504cb08fad9..b3c113a1a2dc18dd9f125e92ccd5d61877da5a91 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -68,9 +68,6 @@ class NTPSnippetsService : public KeyedService,
public image_fetcher::ImageFetcherDelegate,
public ContentSuggestionsProvider {
public:
- using ImageFetchedCallback =
- base::Callback<void(const std::string& suggestion_id, const gfx::Image&)>;
-
// |application_language_code| should be a ISO 639-1 compliant string, e.g.
// 'en' or 'en-US'. Note that this code should only specify the language, not
// the locale, so 'en_US' (English language with US locale) and 'en-GB_US'
@@ -240,7 +237,7 @@ class NTPSnippetsService : public KeyedService,
// Triggers a state transition depending on the provided reason to be
// disabled (or lack thereof). This method is called when a change is detected
- // by |snippets_status_service_|
+ // by |snippets_status_service_|.
void UpdateStateForStatus(DisabledReason disabled_reason);
// Verifies state transitions (see |State|'s documentation) and applies them.
« no previous file with comments | « components/ntp_snippets/content_suggestions_category.h ('k') | components/ntp_snippets/ntp_snippets_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698