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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
802 }, | 802 }, |
803 { | 803 { |
804 "enable-quic", | 804 "enable-quic", |
805 IDS_FLAGS_ENABLE_QUIC_NAME, | 805 IDS_FLAGS_ENABLE_QUIC_NAME, |
806 IDS_FLAGS_ENABLE_QUIC_DESCRIPTION, | 806 IDS_FLAGS_ENABLE_QUIC_DESCRIPTION, |
807 kOsAll, | 807 kOsAll, |
808 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, | 808 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, |
809 switches::kDisableQuic) | 809 switches::kDisableQuic) |
810 }, | 810 }, |
811 { | 811 { |
812 "enable-spdy4", | 812 "enable-http2", |
813 IDS_FLAGS_ENABLE_SPDY4_NAME, | 813 IDS_FLAGS_ENABLE_SPDY4_NAME, |
814 IDS_FLAGS_ENABLE_SPDY4_DESCRIPTION, | 814 IDS_FLAGS_ENABLE_SPDY4_DESCRIPTION, |
815 kOsAll, | 815 kOsAll, |
816 SINGLE_VALUE_TYPE(switches::kEnableSpdy4) | 816 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSpdy4, |
817 switches::kEnableNpnHttpOnly) | |
Ryan Hamilton
2015/05/11 18:05:20
Why does kEnableNpnHttpOnly represent "disabled"?
Bence
2015/05/11 19:23:17
Good point. Now this flag does whatever we want i
| |
817 }, | 818 }, |
818 { | 819 { |
819 "disable-media-source", | 820 "disable-media-source", |
820 IDS_FLAGS_DISABLE_MEDIA_SOURCE_NAME, | 821 IDS_FLAGS_DISABLE_MEDIA_SOURCE_NAME, |
821 IDS_FLAGS_DISABLE_MEDIA_SOURCE_DESCRIPTION, | 822 IDS_FLAGS_DISABLE_MEDIA_SOURCE_DESCRIPTION, |
822 kOsAll, | 823 kOsAll, |
823 SINGLE_VALUE_TYPE(switches::kDisableMediaSource) | 824 SINGLE_VALUE_TYPE(switches::kDisableMediaSource) |
824 }, | 825 }, |
825 { | 826 { |
826 "disable-encrypted-media", | 827 "disable-encrypted-media", |
(...skipping 2230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3057 } | 3058 } |
3058 | 3059 |
3059 const Experiment* GetExperiments(size_t* count) { | 3060 const Experiment* GetExperiments(size_t* count) { |
3060 *count = num_experiments; | 3061 *count = num_experiments; |
3061 return experiments; | 3062 return experiments; |
3062 } | 3063 } |
3063 | 3064 |
3064 } // namespace testing | 3065 } // namespace testing |
3065 | 3066 |
3066 } // namespace about_flags | 3067 } // namespace about_flags |
OLD | NEW |