| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 SINGLE_VALUE_TYPE(switches::kInstantAutocompleteImmediately) | 265 SINGLE_VALUE_TYPE(switches::kInstantAutocompleteImmediately) |
| 266 }, | 266 }, |
| 267 { | 267 { |
| 268 "block-reading-third-party-cookies", | 268 "block-reading-third-party-cookies", |
| 269 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_NAME, | 269 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_NAME, |
| 270 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_DESCRIPTION, | 270 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_DESCRIPTION, |
| 271 kOsAll, | 271 kOsAll, |
| 272 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies) | 272 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies) |
| 273 }, | 273 }, |
| 274 { | 274 { |
| 275 "webaudio", | |
| 276 IDS_FLAGS_WEBAUDIO_NAME, | |
| 277 IDS_FLAGS_WEBAUDIO_DESCRIPTION, | |
| 278 kOsMac, // TODO(crogers): add windows and linux when FFT is ready. | |
| 279 SINGLE_VALUE_TYPE(switches::kEnableWebAudio) | |
| 280 }, | |
| 281 { | |
| 282 "disable-interactive-form-validation", | 275 "disable-interactive-form-validation", |
| 283 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, | 276 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, |
| 284 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, | 277 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, |
| 285 kOsAll, | 278 kOsAll, |
| 286 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) | 279 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) |
| 287 }, | 280 }, |
| 288 }; | 281 }; |
| 289 | 282 |
| 290 const Experiment* experiments = kExperiments; | 283 const Experiment* experiments = kExperiments; |
| 291 size_t num_experiments = arraysize(kExperiments); | 284 size_t num_experiments = arraysize(kExperiments); |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 } | 688 } |
| 696 | 689 |
| 697 const Experiment* GetExperiments(size_t* count) { | 690 const Experiment* GetExperiments(size_t* count) { |
| 698 *count = num_experiments; | 691 *count = num_experiments; |
| 699 return experiments; | 692 return experiments; |
| 700 } | 693 } |
| 701 | 694 |
| 702 } // namespace testing | 695 } // namespace testing |
| 703 | 696 |
| 704 } // namespace about_flags | 697 } // namespace about_flags |
| OLD | NEW |