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

Unified Diff: chrome/common/pref_names.cc

Issue 1330773002: [Android] Persist ordering of NTP suggestions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move things around in a struct Created 5 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
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 4f2867eb0c601463d3e2af99be08b693005ad2af..4a86273b919e3054320a783e40660e0aa7df16fd 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1493,6 +1493,15 @@ const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo";
// Which page should be visible on the new tab page v4
const char kNtpShownPage[] = "ntp.shown_page";
+#if defined(OS_ANDROID)
+// Ordered list of website suggestions shown on the new tab page that will allow
+// retaining the order even if the suggestions change over time.
+const char kNTPSuggestionsURL[] = "ntp.suggestions_url";
+
+// Whether the suggestion was derieved from personal data.
Marc Treib 2015/09/08 11:39:49 nit: derived
knn 2015/09/08 13:42:00 Done.
+const char kNTPSuggestionsIsPersonal[] = "ntp.suggestions_is_personal";
+#endif
+
// A private RSA key for ADB handshake.
const char kDevToolsAdbKey[] = "devtools.adb_key";
« chrome/browser/android/most_visited_sites_unittest.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698