OLD | NEW |
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"; |
11 | 11 |
12 const char kSnippetHosts[] = "ntp_snippets.hosts"; | 12 const char kSnippetHosts[] = "ntp_snippets.hosts"; |
13 | 13 |
14 const char kSnippetFetcherQuotaDay[] = | 14 const char kSnippetFetcherRequestCount[] = |
| 15 "ntp.request_throttler.suggestion_fetcher.count"; |
| 16 const char kSnippetFetcherInteractiveRequestCount[] = |
| 17 "ntp.request_throttler.suggestion_fetcher.interactive_count"; |
| 18 const char kSnippetFetcherRequestsDay[] = |
15 "ntp.request_throttler.suggestion_fetcher.day"; | 19 "ntp.request_throttler.suggestion_fetcher.day"; |
16 const char kSnippetFetcherQuotaCount[] = | 20 |
17 "ntp.request_throttler.suggestion_fetcher.count"; | 21 const char kSnippetThumbnailsRequestCount[] = |
| 22 "ntp.request_throttler.suggestion_thumbnails.count"; |
| 23 const char kSnippetThumbnailsInteractiveRequestCount[] = |
| 24 "ntp.request_throttler.suggestion_thumbnails.interactive_count"; |
| 25 const char kSnippetThumbnailsRequestsDay[] = |
| 26 "ntp.request_throttler.suggestion_thumbnails.day"; |
18 | 27 |
19 const char kDismissedRecentOfflineTabSuggestions[] = | 28 const char kDismissedRecentOfflineTabSuggestions[] = |
20 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; | 29 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; |
21 const char kDismissedDownloadSuggestions[] = | 30 const char kDismissedDownloadSuggestions[] = |
22 "ntp_suggestions.offline_pages.downloads.dismissed_ids"; | 31 "ntp_suggestions.offline_pages.downloads.dismissed_ids"; |
23 | 32 |
24 } // namespace prefs | 33 } // namespace prefs |
25 } // namespace ntp_snippets | 34 } // namespace ntp_snippets |
OLD | NEW |