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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 // Keeps track of snapshot documents collapsed state in the Other Devices menu. 1486 // Keeps track of snapshot documents collapsed state in the Other Devices menu.
1487 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document"; 1487 const char kNtpCollapsedSnapshotDocument[] = "ntp.collapsed_snapshot_document";
1488 1488
1489 // Keeps track of sync promo collapsed state in the Other Devices menu. 1489 // Keeps track of sync promo collapsed state in the Other Devices menu.
1490 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo"; 1490 const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo";
1491 #endif 1491 #endif
1492 1492
1493 // Which page should be visible on the new tab page v4 1493 // Which page should be visible on the new tab page v4
1494 const char kNtpShownPage[] = "ntp.shown_page"; 1494 const char kNtpShownPage[] = "ntp.shown_page";
1495 1495
1496 #if defined(OS_ANDROID)
1497 // Ordered list of website suggestions shown on the new tab page that will allow
1498 // retaining the order even if the suggestions change over time.
1499 const char kNTPSuggestionsURL[] = "ntp.suggestions_url";
1500
1501 // 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.
1502 const char kNTPSuggestionsIsPersonal[] = "ntp.suggestions_is_personal";
1503 #endif
1504
1496 // A private RSA key for ADB handshake. 1505 // A private RSA key for ADB handshake.
1497 const char kDevToolsAdbKey[] = "devtools.adb_key"; 1506 const char kDevToolsAdbKey[] = "devtools.adb_key";
1498 1507
1499 const char kDevToolsDisabled[] = "devtools.disabled"; 1508 const char kDevToolsDisabled[] = "devtools.disabled";
1500 1509
1501 // Determines whether devtools should be discovering usb devices for 1510 // Determines whether devtools should be discovering usb devices for
1502 // remote debugging at chrome://inspect. 1511 // remote debugging at chrome://inspect.
1503 const char kDevToolsDiscoverUsbDevicesEnabled[] = 1512 const char kDevToolsDiscoverUsbDevicesEnabled[] =
1504 "devtools.discover_usb_devices"; 1513 "devtools.discover_usb_devices";
1505 1514
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
2217 "supervised_users.whitelists"; 2226 "supervised_users.whitelists";
2218 2227
2219 #if defined(ENABLE_EXTENSIONS) 2228 #if defined(ENABLE_EXTENSIONS)
2220 // Policy that indicates how to handle animated images. 2229 // Policy that indicates how to handle animated images.
2221 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2230 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2222 #endif 2231 #endif
2223 2232
2224 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; 2233 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload";
2225 2234
2226 } // namespace prefs 2235 } // namespace prefs
OLDNEW
« 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