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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, | 527 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_NAME, |
528 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, | 528 IDS_FLAGS_DISABLE_SOFTWARE_RASTERIZER_DESCRIPTION, |
529 #if defined(ENABLE_SWIFTSHADER) | 529 #if defined(ENABLE_SWIFTSHADER) |
530 kOsAll, | 530 kOsAll, |
531 #else | 531 #else |
532 0, | 532 0, |
533 #endif | 533 #endif |
534 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) | 534 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) |
535 }, | 535 }, |
536 { | 536 { |
537 "enable-media-stream", | |
538 IDS_FLAGS_MEDIA_STREAM_NAME, | |
539 IDS_FLAGS_MEDIA_STREAM_DESCRIPTION, | |
540 kOsAll, | |
541 SINGLE_VALUE_TYPE(switches::kEnableMediaStream) | |
542 }, | |
543 { | |
544 "enable-peer-connection", | 537 "enable-peer-connection", |
545 IDS_FLAGS_PEER_CONNECTION_NAME, | 538 IDS_FLAGS_PEER_CONNECTION_NAME, |
546 IDS_FLAGS_PEER_CONNECTION_DESCRIPTION, | 539 IDS_FLAGS_PEER_CONNECTION_DESCRIPTION, |
547 kOsAll, | 540 kOsAll, |
548 SINGLE_VALUE_TYPE(switches::kEnablePeerConnection) | 541 SINGLE_VALUE_TYPE(switches::kEnablePeerConnection) |
549 }, | 542 }, |
550 { | 543 { |
551 "enable-shadow-dom", | 544 "enable-shadow-dom", |
552 IDS_FLAGS_SHADOW_DOM_NAME, | 545 IDS_FLAGS_SHADOW_DOM_NAME, |
553 IDS_FLAGS_SHADOW_DOM_DESCRIPTION, | 546 IDS_FLAGS_SHADOW_DOM_DESCRIPTION, |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 } | 1153 } |
1161 | 1154 |
1162 const Experiment* GetExperiments(size_t* count) { | 1155 const Experiment* GetExperiments(size_t* count) { |
1163 *count = num_experiments; | 1156 *count = num_experiments; |
1164 return experiments; | 1157 return experiments; |
1165 } | 1158 } |
1166 | 1159 |
1167 } // namespace testing | 1160 } // namespace testing |
1168 | 1161 |
1169 } // namespace about_flags | 1162 } // namespace about_flags |
OLD | NEW |