| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies) | 238 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies) |
| 239 }, | 239 }, |
| 240 { | 240 { |
| 241 "disable-interactive-form-validation", | 241 "disable-interactive-form-validation", |
| 242 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, | 242 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, |
| 243 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, | 243 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, |
| 244 kOsAll, | 244 kOsAll, |
| 245 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) | 245 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) |
| 246 }, | 246 }, |
| 247 { | 247 { |
| 248 "webaudio", | |
| 249 IDS_FLAGS_WEBAUDIO_NAME, | |
| 250 IDS_FLAGS_WEBAUDIO_DESCRIPTION, | |
| 251 // This switch is currently not available in CrOS. | |
| 252 // TODO(crogers): FFmpeg Windows DLLs need to be rebuilt for chromium. | |
| 253 #if defined(GOOGLE_CHROME_BUILD) | |
| 254 kOsMac | kOsWin | kOsLinux, | |
| 255 #else | |
| 256 kOsMac | kOsLinux, | |
| 257 #endif | |
| 258 SINGLE_VALUE_TYPE(switches::kEnableWebAudio) | |
| 259 }, | |
| 260 { | |
| 261 "p2papi", | 248 "p2papi", |
| 262 IDS_FLAGS_P2P_API_NAME, | 249 IDS_FLAGS_P2P_API_NAME, |
| 263 IDS_FLAGS_P2P_API_DESCRIPTION, | 250 IDS_FLAGS_P2P_API_DESCRIPTION, |
| 264 kOsAll, | 251 kOsAll, |
| 265 #if defined(ENABLE_P2P_APIS) | 252 #if defined(ENABLE_P2P_APIS) |
| 266 SINGLE_VALUE_TYPE(switches::kEnableP2PApi) | 253 SINGLE_VALUE_TYPE(switches::kEnableP2PApi) |
| 267 #else | 254 #else |
| 268 SINGLE_VALUE_TYPE("") | 255 SINGLE_VALUE_TYPE("") |
| 269 #endif | 256 #endif |
| 270 }, | 257 }, |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 } | 803 } |
| 817 | 804 |
| 818 const Experiment* GetExperiments(size_t* count) { | 805 const Experiment* GetExperiments(size_t* count) { |
| 819 *count = num_experiments; | 806 *count = num_experiments; |
| 820 return experiments; | 807 return experiments; |
| 821 } | 808 } |
| 822 | 809 |
| 823 } // namespace testing | 810 } // namespace testing |
| 824 | 811 |
| 825 } // namespace about_flags | 812 } // namespace about_flags |
| OLD | NEW |