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

Side by Side Diff: components/ntp_snippets/pref_names.cc

Issue 2279123002: [Sync] Initial implementation of foreign sessions suggestions provider. (Closed)
Patch Set: Updating for comments, again! Created 4 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
« no previous file with comments | « components/ntp_snippets/pref_names.h ('k') | components/ntp_snippets/pref_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/ntp_snippets/pref_names.h" 5 #include "components/ntp_snippets/pref_names.h"
6 6
7 namespace ntp_snippets { 7 namespace ntp_snippets {
8 namespace prefs { 8 namespace prefs {
9 9
10 const char kEnableSnippets[] = "ntp_snippets.enable"; 10 const char kEnableSnippets[] = "ntp_snippets.enable";
(...skipping 11 matching lines...) Expand all
22 "ntp.request_throttler.suggestion_thumbnails.count"; 22 "ntp.request_throttler.suggestion_thumbnails.count";
23 const char kSnippetThumbnailsInteractiveRequestCount[] = 23 const char kSnippetThumbnailsInteractiveRequestCount[] =
24 "ntp.request_throttler.suggestion_thumbnails.interactive_count"; 24 "ntp.request_throttler.suggestion_thumbnails.interactive_count";
25 const char kSnippetThumbnailsRequestsDay[] = 25 const char kSnippetThumbnailsRequestsDay[] =
26 "ntp.request_throttler.suggestion_thumbnails.day"; 26 "ntp.request_throttler.suggestion_thumbnails.day";
27 27
28 const char kDismissedRecentOfflineTabSuggestions[] = 28 const char kDismissedRecentOfflineTabSuggestions[] =
29 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; 29 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids";
30 const char kDismissedDownloadSuggestions[] = 30 const char kDismissedDownloadSuggestions[] =
31 "ntp_suggestions.offline_pages.downloads.dismissed_ids"; 31 "ntp_suggestions.offline_pages.downloads.dismissed_ids";
32 const char kDismissedForeignSessionsSuggestions[] =
33 "ntp_suggestions.foreign_sessions.dismissed_ids";
32 34
33 const char kBookmarksFirstM54Start[] = 35 const char kBookmarksFirstM54Start[] =
34 "ntp_suggestions.bookmarks.first_M54_start"; 36 "ntp_suggestions.bookmarks.first_M54_start";
35 37
36 const char kUserClassifierAverageNTPOpenedPerHour[] = 38 const char kUserClassifierAverageNTPOpenedPerHour[] =
37 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; 39 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour";
38 const char kUserClassifierAverageSuggestionsShownPerHour[] = 40 const char kUserClassifierAverageSuggestionsShownPerHour[] =
39 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; 41 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour";
40 const char kUserClassifierAverageSuggestionsUsedPerHour[] = 42 const char kUserClassifierAverageSuggestionsUsedPerHour[] =
41 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; 43 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour";
42 44
43 const char kUserClassifierLastTimeToOpenNTP[] = 45 const char kUserClassifierLastTimeToOpenNTP[] =
44 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; 46 "ntp_suggestions.user_classifier.last_time_to_open_ntp";
45 const char kUserClassifierLastTimeToShowSuggestions[] = 47 const char kUserClassifierLastTimeToShowSuggestions[] =
46 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; 48 "ntp_suggestions.user_classifier.last_time_to_show_suggestions";
47 const char kUserClassifierLastTimeToUseSuggestions[] = 49 const char kUserClassifierLastTimeToUseSuggestions[] =
48 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; 50 "ntp_suggestions.user_classifier.last_time_to_use_suggestions";
49 51
50
51 } // namespace prefs 52 } // namespace prefs
52 } // namespace ntp_snippets 53 } // namespace ntp_snippets
OLDNEW
« no previous file with comments | « components/ntp_snippets/pref_names.h ('k') | components/ntp_snippets/pref_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698