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

Side by Side Diff: components/ntp_snippets/ntp_snippets_constants.h

Issue 2782233002: Drop ntp_snippets::kStudyName in chrome://flags (Closed)
Patch Set: rebase Created 3 years, 8 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 #ifndef COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_
6 #define COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_ 6 #define COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 9
10 namespace ntp_snippets { 10 namespace ntp_snippets {
11 11
12 // Name of the variation parameters study to configure NTP snippets.
13 extern const char kStudyName[];
14
15 // Name of the folder where the snippets database should be stored. This is only 12 // Name of the folder where the snippets database should be stored. This is only
16 // the name of the folder, not a full path - it must be appended to e.g. the 13 // the name of the folder, not a full path - it must be appended to e.g. the
17 // profile path. 14 // profile path.
18 extern const base::FilePath::CharType kDatabaseFolder[]; 15 extern const base::FilePath::CharType kDatabaseFolder[];
19 16
20 // Server endpoints for fetching snippets. 17 // Server endpoints for fetching snippets.
21 extern const char kContentSuggestionsServer[]; // used on stable/beta 18 extern const char kContentSuggestionsServer[]; // used on stable/beta
22 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary 19 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary
23 extern const char kContentSuggestionsAlphaServer[]; // for testing 20 extern const char kContentSuggestionsAlphaServer[]; // for testing
24 21
25 } // namespace ntp_snippets 22 } // namespace ntp_snippets
26 23
27 #endif 24 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698