forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed_feature_list.h
38 lines (26 loc) · 1.29 KB
/
feed_feature_list.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_FEED_FEED_FEATURE_LIST_H_
#define COMPONENTS_FEED_FEED_FEATURE_LIST_H_
#include <string>
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
namespace feed {
extern const base::Feature kInterestFeedContentSuggestions;
extern const base::Feature kInterestFeedV2;
bool IsV1Enabled();
bool IsV2Enabled();
extern const base::FeatureParam<std::string> kDisableTriggerTypes;
extern const base::FeatureParam<int> kSuppressRefreshDurationMinutes;
extern const base::FeatureParam<int> kTimeoutDurationSeconds;
extern const base::FeatureParam<bool> kThrottleBackgroundFetches;
extern const base::FeatureParam<bool> kOnlySetLastRefreshAttemptOnSuccess;
// Indicates if user card clicks and views in Chrome's feed should be reported
// for personalization. Also enables the feed header menu to manage the feed.
extern const base::Feature kReportFeedUserActions;
extern const base::Feature kInterestFeedV1ClicksAndViewsConditionalUpload;
extern const base::Feature kInterestFeedV2ClicksAndViewsConditionalUpload;
std::string GetFeedReferrerUrl();
} // namespace feed
#endif // COMPONENTS_FEED_FEED_FEATURE_LIST_H_