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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 // macro for this type supplying the command line to the macro. | 432 // macro for this type supplying the command line to the macro. |
433 // . MULTI_VALUE: a list of choices, the first of which should correspond to a | 433 // . MULTI_VALUE: a list of choices, the first of which should correspond to a |
434 // deactivated state for this lab (i.e. no command line option). To specify | 434 // deactivated state for this lab (i.e. no command line option). To specify |
435 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the | 435 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the |
436 // array of choices. | 436 // array of choices. |
437 // See the documentation of Experiment for details on the fields. | 437 // See the documentation of Experiment for details on the fields. |
438 // | 438 // |
439 // When adding a new choice, add it to the end of the list. | 439 // When adding a new choice, add it to the end of the list. |
440 const Experiment kExperiments[] = { | 440 const Experiment kExperiments[] = { |
441 { | 441 { |
442 "conflicting-modules-check", // FLAGS:RECORD_UMA | |
443 IDS_FLAGS_CONFLICTS_CHECK_NAME, | |
444 IDS_FLAGS_CONFLICTS_CHECK_DESCRIPTION, | |
445 kOsWin, | |
446 SINGLE_VALUE_TYPE(switches::kConflictingModulesCheck) | |
447 }, | |
448 { | |
449 "ignore-gpu-blacklist", | 442 "ignore-gpu-blacklist", |
450 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, | 443 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, |
451 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, | 444 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, |
452 kOsAll, | 445 kOsAll, |
453 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) | 446 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) |
454 }, | 447 }, |
455 { | 448 { |
456 "threaded-compositing-mode", | 449 "threaded-compositing-mode", |
457 IDS_FLAGS_THREADED_COMPOSITING_MODE_NAME, | 450 IDS_FLAGS_THREADED_COMPOSITING_MODE_NAME, |
458 IDS_FLAGS_THREADED_COMPOSITING_MODE_DESCRIPTION, | 451 IDS_FLAGS_THREADED_COMPOSITING_MODE_DESCRIPTION, |
(...skipping 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2362 } | 2355 } |
2363 | 2356 |
2364 const Experiment* GetExperiments(size_t* count) { | 2357 const Experiment* GetExperiments(size_t* count) { |
2365 *count = num_experiments; | 2358 *count = num_experiments; |
2366 return experiments; | 2359 return experiments; |
2367 } | 2360 } |
2368 | 2361 |
2369 } // namespace testing | 2362 } // namespace testing |
2370 | 2363 |
2371 } // namespace about_flags | 2364 } // namespace about_flags |
OLD | NEW |