OLD | NEW |
1 /// Copyright 2017 The Chromium Authors. All rights reserved. | 1 /// Copyright 2017 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/feature_engagement_tracker/internal/feature_list.h" | 5 #include "components/feature_engagement_tracker/internal/feature_list.h" |
6 | 6 |
7 #include "base/feature_list.h" | 7 #include "base/feature_list.h" |
8 #include "components/feature_engagement_tracker/public/feature_constants.h" | 8 #include "components/feature_engagement_tracker/public/feature_constants.h" |
9 | 9 |
10 namespace feature_engagement_tracker { | 10 namespace feature_engagement_tracker { |
11 | 11 |
12 namespace { | 12 namespace { |
13 | 13 |
14 const base::Feature* kAllFeatures[] = {&kIPHDownloadPageFeature}; | 14 const base::Feature* kAllFeatures[] = {&kIPHDownloadPageFeature, |
| 15 &kIPHDownloadHomeFeature}; |
15 | 16 |
16 } // namespace | 17 } // namespace |
17 | 18 |
18 std::vector<const base::Feature*> GetAllFeatures() { | 19 std::vector<const base::Feature*> GetAllFeatures() { |
19 return std::vector<const base::Feature*>( | 20 return std::vector<const base::Feature*>( |
20 kAllFeatures, kAllFeatures + arraysize(kAllFeatures)); | 21 kAllFeatures, kAllFeatures + arraysize(kAllFeatures)); |
21 } | 22 } |
22 | 23 |
23 } // namespace feature_engagement_tracker | 24 } // namespace feature_engagement_tracker |
OLD | NEW |