Chromium Code Reviews| 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 #ifndef COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
| 6 #define COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
| 7 | 7 |
| 8 namespace ntp_snippets { | 8 namespace ntp_snippets { |
| 9 namespace prefs { | 9 namespace prefs { |
| 10 | 10 |
| 11 extern const char kEnableSnippets[]; | 11 extern const char kEnableSnippets[]; |
| 12 | 12 |
| 13 extern const char kSnippetHosts[]; | 13 extern const char kSnippetHosts[]; |
| 14 | 14 |
| 15 // Current day for counting NTPSnippetsFetcher requests. | |
| 16 extern const char kSnippetFetcherQuotaDay[]; | |
| 17 // The count of NTPSnippetsFetcher requests for today, so far. | |
|
tschumann
2016/07/21 11:37:09
sorry for being nit-picky: But this constant is a
Marc Treib
2016/07/21 11:43:50
I think it's fairly common to have this type of co
jkrcal
2016/07/21 18:17:57
Done.
| |
| 18 extern const char kSnippetFetcherQuotaCount[]; | |
| 19 | |
| 15 } // namespace prefs | 20 } // namespace prefs |
| 16 } // namespace ntp_snippets | 21 } // namespace ntp_snippets |
| 17 | 22 |
| 18 #endif | 23 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
| OLD | NEW |