OLD | NEW |
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 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1919 }, | 1919 }, |
1920 #endif // OS_CHROMEOS | 1920 #endif // OS_CHROMEOS |
1921 { | 1921 { |
1922 "enable-data-reduction-proxy-alt", | 1922 "enable-data-reduction-proxy-alt", |
1923 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_ALTERNATIVE_NAME, | 1923 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_ALTERNATIVE_NAME, |
1924 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_ALTERNATIVE_DESCRIPTION, | 1924 IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_ALTERNATIVE_DESCRIPTION, |
1925 kOsAndroid, | 1925 kOsAndroid, |
1926 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: | 1926 SINGLE_VALUE_TYPE(data_reduction_proxy::switches:: |
1927 kEnableDataReductionProxyAlt) | 1927 kEnableDataReductionProxyAlt) |
1928 }, | 1928 }, |
| 1929 #if defined(USE_AURA) |
| 1930 { |
| 1931 "enable-tab-audio-muting", |
| 1932 IDS_FLAGS_ENABLE_TAB_AUDIO_MUTING_NAME, |
| 1933 IDS_FLAGS_ENABLE_TAB_AUDIO_MUTING_DESCRIPTION, |
| 1934 kOsWin | kOsLinux | kOsCrOS, |
| 1935 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting) |
| 1936 }, |
| 1937 #endif // defined(USE_AURA) |
1929 | 1938 |
1930 // NOTE: Adding new command-line switches requires adding corresponding | 1939 // NOTE: Adding new command-line switches requires adding corresponding |
1931 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 1940 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
1932 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. | 1941 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |
1933 }; | 1942 }; |
1934 | 1943 |
1935 const Experiment* experiments = kExperiments; | 1944 const Experiment* experiments = kExperiments; |
1936 size_t num_experiments = arraysize(kExperiments); | 1945 size_t num_experiments = arraysize(kExperiments); |
1937 | 1946 |
1938 // Stores and encapsulates the little state that about:flags has. | 1947 // Stores and encapsulates the little state that about:flags has. |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2510 } | 2519 } |
2511 | 2520 |
2512 const Experiment* GetExperiments(size_t* count) { | 2521 const Experiment* GetExperiments(size_t* count) { |
2513 *count = num_experiments; | 2522 *count = num_experiments; |
2514 return experiments; | 2523 return experiments; |
2515 } | 2524 } |
2516 | 2525 |
2517 } // namespace testing | 2526 } // namespace testing |
2518 | 2527 |
2519 } // namespace about_flags | 2528 } // namespace about_flags |
OLD | NEW |