| Index: components/ntp_snippets/features.h
|
| diff --git a/components/ntp_snippets/features.h b/components/ntp_snippets/features.h
|
| index 655b99f0d8afc2047d93a32e2083cecbb3d1e248..a3b16089253a358c2e930900460b02391e441309 100644
|
| --- a/components/ntp_snippets/features.h
|
| +++ b/components/ntp_snippets/features.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef COMPONENTS_NTP_SNIPPETS_FEATURES_H_
|
| #define COMPONENTS_NTP_SNIPPETS_FEATURES_H_
|
|
|
| +#include <string>
|
| +
|
| #include "base/feature_list.h"
|
|
|
| namespace ntp_snippets {
|
| @@ -15,6 +17,7 @@ extern const base::Feature kBookmarkSuggestionsFeature;
|
| extern const base::Feature kRecentOfflineTabSuggestionsFeature;
|
| extern const base::Feature kDownloadSuggestionsFeature;
|
| extern const base::Feature kPhysicalWebPageSuggestionsFeature;
|
| +extern const base::Feature kForeignSessionsSuggestionsFeature;
|
|
|
| // Feature to allow the 'save to offline' option to appear in the snippets
|
| // context menu.
|
| @@ -24,6 +27,11 @@ extern const base::Feature kSaveToOfflineFeature;
|
| // false, all the per-provider features are ignored.
|
| extern const base::Feature kContentSuggestionsFeature;
|
|
|
| +// Returns a feature param as an int instead of a string.
|
| +int GetParamAsInt(const base::Feature& feature,
|
| + const std::string& param_name,
|
| + int default_value);
|
| +
|
| } // namespace ntp_snippets
|
|
|
| #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_
|
|
|