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

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

Issue 711033002: Referrer Policy: Add a flag to reduce `referer` granularity by default [2/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@default
Patch Set: histograms Created 6 years, 1 month 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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after
2011 kOsDesktop, 2011 kOsDesktop,
2012 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting) 2012 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting)
2013 }, 2013 },
2014 { 2014 {
2015 "enable-credential-manager-api", 2015 "enable-credential-manager-api",
2016 IDS_FLAGS_CREDENTIAL_MANAGER_API_NAME, 2016 IDS_FLAGS_CREDENTIAL_MANAGER_API_NAME,
2017 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION, 2017 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION,
2018 kOsAll, 2018 kOsAll,
2019 SINGLE_VALUE_TYPE(switches::kEnableCredentialManagerAPI) 2019 SINGLE_VALUE_TYPE(switches::kEnableCredentialManagerAPI)
2020 }, 2020 },
2021 {
2022 "reduced-referrer-granularity",
2023 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_NAME,
2024 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION,
2025 kOsAll,
2026 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity)
2027 },
2021 #if defined(ENABLE_PLUGINS) 2028 #if defined(ENABLE_PLUGINS)
2022 { 2029 {
2023 "enable-plugin-power-saver", 2030 "enable-plugin-power-saver",
2024 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME, 2031 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME,
2025 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION, 2032 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION,
2026 kOsDesktop, 2033 kOsDesktop,
2027 SINGLE_VALUE_TYPE(switches::kEnablePluginPowerSaver) 2034 SINGLE_VALUE_TYPE(switches::kEnablePluginPowerSaver)
2028 }, 2035 },
2029 #endif 2036 #endif
2030 #if defined(OS_CHROMEOS) 2037 #if defined(OS_CHROMEOS)
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 } 2635 }
2629 2636
2630 const Experiment* GetExperiments(size_t* count) { 2637 const Experiment* GetExperiments(size_t* count) {
2631 *count = num_experiments; 2638 *count = num_experiments;
2632 return experiments; 2639 return experiments;
2633 } 2640 }
2634 2641
2635 } // namespace testing 2642 } // namespace testing
2636 2643
2637 } // namespace about_flags 2644 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698