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

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

Issue 2395273003: [NTP Snippets] Persist remote categories in prefs (Closed)
Patch Set: tschumann review Created 4 years, 2 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 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 kRemoteSuggestionCategories[] = "ntp_snippets.remote_categories";
15
14 const char kSnippetBackgroundFetchingIntervalWifi[] = 16 const char kSnippetBackgroundFetchingIntervalWifi[] =
15 "ntp_snippets.fetching_interval_wifi"; 17 "ntp_snippets.fetching_interval_wifi";
16 18
17 const char kSnippetBackgroundFetchingIntervalFallback[] = 19 const char kSnippetBackgroundFetchingIntervalFallback[] =
18 "ntp_snippets.fetching_interval_fallback"; 20 "ntp_snippets.fetching_interval_fallback";
19 21
20 const char kSnippetFetcherRequestCount[] = 22 const char kSnippetFetcherRequestCount[] =
21 "ntp.request_throttler.suggestion_fetcher.count"; 23 "ntp.request_throttler.suggestion_fetcher.count";
22 const char kSnippetFetcherInteractiveRequestCount[] = 24 const char kSnippetFetcherInteractiveRequestCount[] =
23 "ntp.request_throttler.suggestion_fetcher.interactive_count"; 25 "ntp.request_throttler.suggestion_fetcher.interactive_count";
(...skipping 26 matching lines...) Expand all
50 52
51 const char kUserClassifierLastTimeToOpenNTP[] = 53 const char kUserClassifierLastTimeToOpenNTP[] =
52 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; 54 "ntp_suggestions.user_classifier.last_time_to_open_ntp";
53 const char kUserClassifierLastTimeToShowSuggestions[] = 55 const char kUserClassifierLastTimeToShowSuggestions[] =
54 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; 56 "ntp_suggestions.user_classifier.last_time_to_show_suggestions";
55 const char kUserClassifierLastTimeToUseSuggestions[] = 57 const char kUserClassifierLastTimeToUseSuggestions[] =
56 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; 58 "ntp_suggestions.user_classifier.last_time_to_use_suggestions";
57 59
58 } // namespace prefs 60 } // namespace prefs
59 } // namespace ntp_snippets 61 } // namespace ntp_snippets
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698