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

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

Issue 2622183002: Remove clear-data-reduction-proxy-data-savings flag (Closed)
Patch Set: Addressed comments Created 3 years, 11 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 (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 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 SINGLE_VALUE_TYPE(switches::kEnableHarfBuzzRenderText)}, 1534 SINGLE_VALUE_TYPE(switches::kEnableHarfBuzzRenderText)},
1535 #endif // OS_MACOSX 1535 #endif // OS_MACOSX
1536 {"data-reduction-proxy-lo-fi", IDS_FLAGS_DATA_REDUCTION_PROXY_LO_FI_NAME, 1536 {"data-reduction-proxy-lo-fi", IDS_FLAGS_DATA_REDUCTION_PROXY_LO_FI_NAME,
1537 IDS_FLAGS_DATA_REDUCTION_PROXY_LO_FI_DESCRIPTION, kOsAll, 1537 IDS_FLAGS_DATA_REDUCTION_PROXY_LO_FI_DESCRIPTION, kOsAll,
1538 MULTI_VALUE_TYPE(kDataReductionProxyLoFiChoices)}, 1538 MULTI_VALUE_TYPE(kDataReductionProxyLoFiChoices)},
1539 {"enable-data-reduction-proxy-lite-page", 1539 {"enable-data-reduction-proxy-lite-page",
1540 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LITE_PAGE_NAME, 1540 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LITE_PAGE_NAME,
1541 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LITE_PAGE_DESCRIPTION, kOsAll, 1541 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LITE_PAGE_DESCRIPTION, kOsAll,
1542 SINGLE_VALUE_TYPE( 1542 SINGLE_VALUE_TYPE(
1543 data_reduction_proxy::switches::kEnableDataReductionProxyLitePage)}, 1543 data_reduction_proxy::switches::kEnableDataReductionProxyLitePage)},
1544 {"clear-data-reduction-proxy-data-savings",
1545 IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_NAME,
1546 IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_DESCRIPTION, kOsAll,
1547 SINGLE_VALUE_TYPE(
1548 data_reduction_proxy::switches::kClearDataReductionProxyDataSavings)},
1549 #if defined(OS_ANDROID) 1544 #if defined(OS_ANDROID)
1550 {"enable-data-reduction-proxy-savings-promo", 1545 {"enable-data-reduction-proxy-savings-promo",
1551 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_SAVINGS_PROMO_NAME, 1546 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_SAVINGS_PROMO_NAME,
1552 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_SAVINGS_PROMO_DESCRIPTION, 1547 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_SAVINGS_PROMO_DESCRIPTION,
1553 kOsAndroid, SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: 1548 kOsAndroid, SINGLE_VALUE_TYPE(data_reduction_proxy::switches::
1554 kEnableDataReductionProxySavingsPromo)}, 1549 kEnableDataReductionProxySavingsPromo)},
1555 #endif // OS_ANDROID 1550 #endif // OS_ANDROID
1556 {"allow-insecure-localhost", IDS_ALLOW_INSECURE_LOCALHOST, 1551 {"allow-insecure-localhost", IDS_ALLOW_INSECURE_LOCALHOST,
1557 IDS_ALLOW_INSECURE_LOCALHOST_DESCRIPTION, kOsAll, 1552 IDS_ALLOW_INSECURE_LOCALHOST_DESCRIPTION, kOsAll,
1558 SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, 1553 SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)},
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2378 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2384 2379
2385 const FeatureEntry* GetFeatureEntries(size_t* count) { 2380 const FeatureEntry* GetFeatureEntries(size_t* count) {
2386 *count = arraysize(kFeatureEntries); 2381 *count = arraysize(kFeatureEntries);
2387 return kFeatureEntries; 2382 return kFeatureEntries;
2388 } 2383 }
2389 2384
2390 } // namespace testing 2385 } // namespace testing
2391 2386
2392 } // namespace about_flags 2387 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698