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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2791563002: Create feature and enable data collection for Data Saver site breakdown (Closed)
Patch Set: sclittle comments 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
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: 1658 SINGLE_VALUE_TYPE(data_reduction_proxy::switches::
1659 kEnableDataReductionProxySavingsPromo)}, 1659 kEnableDataReductionProxySavingsPromo)},
1660 {"enable-data-reduction-proxy-main-menu", 1660 {"enable-data-reduction-proxy-main-menu",
1661 flag_descriptions::kEnableDataReductionProxyMainMenuName, 1661 flag_descriptions::kEnableDataReductionProxyMainMenuName,
1662 flag_descriptions::kEnableDataReductionProxyMainMenuDescription, 1662 flag_descriptions::kEnableDataReductionProxyMainMenuDescription,
1663 kOsAndroid, 1663 kOsAndroid,
1664 FEATURE_WITH_PARAMS_VALUE_TYPE( 1664 FEATURE_WITH_PARAMS_VALUE_TYPE(
1665 data_reduction_proxy::features::kDataReductionMainMenu, 1665 data_reduction_proxy::features::kDataReductionMainMenu,
1666 kDataReductionMainMenuFeatureVariations, 1666 kDataReductionMainMenuFeatureVariations,
1667 "DataReductionProxyMainMenu")}, 1667 "DataReductionProxyMainMenu")},
1668 {"enable-data-reduction-proxy-site-breakdown",
1669 flag_descriptions::kEnableDataReductionProxySiteBreakdownName,
1670 flag_descriptions::kEnableDataReductionProxySiteBreakdownDescription,
1671 kOsAndroid,
1672 FEATURE_VALUE_TYPE(
1673 data_reduction_proxy::features::kDataReductionSiteBreakdown)},
1668 #endif // OS_ANDROID 1674 #endif // OS_ANDROID
1669 {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhost, 1675 {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhost,
1670 flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll, 1676 flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll,
1671 SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, 1677 SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)},
1672 {"enable-add-to-shelf", flag_descriptions::kAddToShelfName, 1678 {"enable-add-to-shelf", flag_descriptions::kAddToShelfName,
1673 flag_descriptions::kAddToShelfDescription, kOsDesktop, 1679 flag_descriptions::kAddToShelfDescription, kOsDesktop,
1674 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToShelf, 1680 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToShelf,
1675 switches::kDisableAddToShelf)}, 1681 switches::kDisableAddToShelf)},
1676 {"bypass-app-banner-engagement-checks", 1682 {"bypass-app-banner-engagement-checks",
1677 flag_descriptions::kBypassAppBannerEngagementChecksName, 1683 flag_descriptions::kBypassAppBannerEngagementChecksName,
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
2717 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2723 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2718 2724
2719 const FeatureEntry* GetFeatureEntries(size_t* count) { 2725 const FeatureEntry* GetFeatureEntries(size_t* count) {
2720 *count = arraysize(kFeatureEntries); 2726 *count = arraysize(kFeatureEntries);
2721 return kFeatureEntries; 2727 return kFeatureEntries;
2722 } 2728 }
2723 2729
2724 } // namespace testing 2730 } // namespace testing
2725 2731
2726 } // namespace about_flags 2732 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698