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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_bridge.h

Issue 2187233002: Add ContentSuggestionsCategoryFactory; Store categories as ints (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/android/ntp/ntp_snippets_bridge.h
diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.h b/chrome/browser/android/ntp/ntp_snippets_bridge.h
index 3c06440f343700ffdff5a1e89d6e40d4a294b0e0..c6ece44405fa51d7bdc4a0512ce631365cc030e9 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.h
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.h
@@ -78,6 +78,8 @@ class NTPSnippetsBridge
ntp_snippets::ContentSuggestionsService::Observer>
content_suggestions_service_observer_;
+ ntp_snippets::ContentSuggestionsCategoryFactory* category_factory_;
Marc Treib 2016/07/28 11:41:45 Any particular reason for storing this separately,
Philipp Keck 2016/07/28 13:50:53 Done.
+
// Used to notify the Java side when new snippets have been fetched.
base::android::ScopedJavaGlobalRef<jobject> observer_;

Powered by Google App Engine
This is Rietveld 408576698