Chromium Code Reviews| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 342 // TODO(halyavin): When exception handling is on by default, replace this | 342 // TODO(halyavin): When exception handling is on by default, replace this |
| 343 // flag with disable-nacl-exception-handling. | 343 // flag with disable-nacl-exception-handling. |
| 344 { | 344 { |
| 345 "enable-nacl-exception-handling", // FLAGS:RECORD_UMA | 345 "enable-nacl-exception-handling", // FLAGS:RECORD_UMA |
| 346 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_NAME, | 346 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_NAME, |
| 347 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_DESCRIPTION, | 347 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_DESCRIPTION, |
| 348 kOsAll, | 348 kOsAll, |
| 349 SINGLE_VALUE_TYPE(switches::kEnableNaClExceptionHandling) | 349 SINGLE_VALUE_TYPE(switches::kEnableNaClExceptionHandling) |
| 350 }, | 350 }, |
| 351 { | 351 { |
| 352 "nacl-gdb", // FLAGS:RECORD_UMA | 352 "enable-nacl-debug", // FLAGS:RECORD_UMA |
| 353 IDS_FLAGS_NACL_GDB_NAME, | 353 IDS_FLAGS_ENABLE_NACL_DEBUG_NAME, |
| 354 IDS_FLAGS_NACL_GDB_DESCRIPTION, | 354 IDS_FLAGS_ENABLE_NACL_DEBUG_DESCRIPTION, |
| 355 kOsWin, | 355 kOsWin | kOsLinux | kOsCrOS, |
|
Mark Seaborn
2012/08/31 20:10:18
Let's just put kOsAll. Mac support will be done s
halyavin
2012/09/03 12:04:39
Done.
| |
| 356 SINGLE_VALUE_TYPE(switches::kNaClGdb) | 356 SINGLE_VALUE_TYPE(switches::kEnableNaClDebug) |
| 357 }, | |
| 358 { | |
| 359 "nacl-gdb-script", // FLAGS:RECORD_UMA | |
| 360 IDS_FLAGS_NACL_GDB_SCRIPT_NAME, | |
| 361 IDS_FLAGS_NACL_GDB_SCRIPT_DESCRIPTION, | |
| 362 kOsAll, | |
| 363 SINGLE_VALUE_TYPE(switches::kNaClGdbScript) | |
| 364 }, | 357 }, |
| 365 { | 358 { |
| 366 "enable-pnacl", // FLAGS:RECORD_UMA | 359 "enable-pnacl", // FLAGS:RECORD_UMA |
| 367 IDS_FLAGS_ENABLE_PNACL_NAME, | 360 IDS_FLAGS_ENABLE_PNACL_NAME, |
| 368 IDS_FLAGS_ENABLE_PNACL_DESCRIPTION, | 361 IDS_FLAGS_ENABLE_PNACL_DESCRIPTION, |
| 369 kOsAll, | 362 kOsAll, |
| 370 SINGLE_VALUE_TYPE(switches::kEnablePnacl) | 363 SINGLE_VALUE_TYPE(switches::kEnablePnacl) |
| 371 }, | 364 }, |
| 372 { | 365 { |
| 373 "extension-apis", // FLAGS:RECORD_UMA | 366 "extension-apis", // FLAGS:RECORD_UMA |
| (...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1352 } | 1345 } |
| 1353 | 1346 |
| 1354 const Experiment* GetExperiments(size_t* count) { | 1347 const Experiment* GetExperiments(size_t* count) { |
| 1355 *count = num_experiments; | 1348 *count = num_experiments; |
| 1356 return experiments; | 1349 return experiments; |
| 1357 } | 1350 } |
| 1358 | 1351 |
| 1359 } // namespace testing | 1352 } // namespace testing |
| 1360 | 1353 |
| 1361 } // namespace about_flags | 1354 } // namespace about_flags |
| OLD | NEW |