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

Side by Side Diff: components/feature_engagement_tracker/internal/feature_list.cc

Issue 2815653003: IPH - connect data saver previews (Closed)
Patch Set: Addressed comments Created 3 years, 7 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 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[] = {
15 &kIPHDownloadHomeFeature}; 15 &kIPHDataSaverPreview, &kIPHDownloadPageFeature, &kIPHDownloadHomeFeature};
16 16
17 } // namespace 17 } // namespace
18 18
19 std::vector<const base::Feature*> GetAllFeatures() { 19 std::vector<const base::Feature*> GetAllFeatures() {
20 return std::vector<const base::Feature*>( 20 return std::vector<const base::Feature*>(
21 kAllFeatures, kAllFeatures + arraysize(kAllFeatures)); 21 kAllFeatures, kAllFeatures + arraysize(kAllFeatures));
22 } 22 }
23 23
24 } // namespace feature_engagement_tracker 24 } // namespace feature_engagement_tracker
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698