| 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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 switches::kDisableQuic) | 671 switches::kDisableQuic) |
| 672 }, | 672 }, |
| 673 { | 673 { |
| 674 "enable-spdy4", | 674 "enable-spdy4", |
| 675 IDS_FLAGS_ENABLE_SPDY4_NAME, | 675 IDS_FLAGS_ENABLE_SPDY4_NAME, |
| 676 IDS_FLAGS_ENABLE_SPDY4_DESCRIPTION, | 676 IDS_FLAGS_ENABLE_SPDY4_DESCRIPTION, |
| 677 kOsAll, | 677 kOsAll, |
| 678 SINGLE_VALUE_TYPE(switches::kEnableSpdy4) | 678 SINGLE_VALUE_TYPE(switches::kEnableSpdy4) |
| 679 }, | 679 }, |
| 680 { | 680 { |
| 681 "enable-async-dns", |
| 682 IDS_FLAGS_ENABLE_ASYNC_DNS_NAME, |
| 683 IDS_FLAGS_ENABLE_ASYNC_DNS_DESCRIPTION, |
| 684 kOsWin | kOsMac | kOsLinux | kOsCrOS, |
| 685 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAsyncDns, |
| 686 switches::kDisableAsyncDns) |
| 687 }, |
| 688 { |
| 681 "disable-media-source", | 689 "disable-media-source", |
| 682 IDS_FLAGS_DISABLE_MEDIA_SOURCE_NAME, | 690 IDS_FLAGS_DISABLE_MEDIA_SOURCE_NAME, |
| 683 IDS_FLAGS_DISABLE_MEDIA_SOURCE_DESCRIPTION, | 691 IDS_FLAGS_DISABLE_MEDIA_SOURCE_DESCRIPTION, |
| 684 kOsAll, | 692 kOsAll, |
| 685 SINGLE_VALUE_TYPE(switches::kDisableMediaSource) | 693 SINGLE_VALUE_TYPE(switches::kDisableMediaSource) |
| 686 }, | 694 }, |
| 687 { | 695 { |
| 688 "disable-encrypted-media", | 696 "disable-encrypted-media", |
| 689 IDS_FLAGS_DISABLE_ENCRYPTED_MEDIA_NAME, | 697 IDS_FLAGS_DISABLE_ENCRYPTED_MEDIA_NAME, |
| 690 IDS_FLAGS_DISABLE_ENCRYPTED_MEDIA_DESCRIPTION, | 698 IDS_FLAGS_DISABLE_ENCRYPTED_MEDIA_DESCRIPTION, |
| (...skipping 2097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2788 } | 2796 } |
| 2789 | 2797 |
| 2790 const Experiment* GetExperiments(size_t* count) { | 2798 const Experiment* GetExperiments(size_t* count) { |
| 2791 *count = num_experiments; | 2799 *count = num_experiments; |
| 2792 return experiments; | 2800 return experiments; |
| 2793 } | 2801 } |
| 2794 | 2802 |
| 2795 } // namespace testing | 2803 } // namespace testing |
| 2796 | 2804 |
| 2797 } // namespace about_flags | 2805 } // namespace about_flags |
| OLD | NEW |