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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 SINGLE_VALUE_TYPE(switches::kEnablePnacl) | 468 SINGLE_VALUE_TYPE(switches::kEnablePnacl) |
469 }, | 469 }, |
470 { | 470 { |
471 "extension-apis", // FLAGS:RECORD_UMA | 471 "extension-apis", // FLAGS:RECORD_UMA |
472 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME, | 472 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME, |
473 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION, | 473 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION, |
474 kOsDesktop, | 474 kOsDesktop, |
475 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) | 475 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) |
476 }, | 476 }, |
477 { | 477 { |
| 478 "enable-adview", |
| 479 IDS_FLAGS_ENABLE_ADVIEW_NAME, |
| 480 IDS_FLAGS_ENABLE_ADVIEW_DESCRIPTION, |
| 481 kOsDesktop, |
| 482 SINGLE_VALUE_TYPE(switches::kEnableAdview) |
| 483 }, |
| 484 { |
| 485 "enable-adview-src-attribute", |
| 486 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_NAME, |
| 487 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_DESCRIPTION, |
| 488 kOsDesktop, |
| 489 SINGLE_VALUE_TYPE(switches::kEnableAdviewSrcAttribute) |
| 490 }, |
| 491 { |
478 "action-box", | 492 "action-box", |
479 IDS_FLAGS_ACTION_BOX_NAME, | 493 IDS_FLAGS_ACTION_BOX_NAME, |
480 IDS_FLAGS_ACTION_BOX_DESCRIPTION, | 494 IDS_FLAGS_ACTION_BOX_DESCRIPTION, |
481 kOsDesktop, | 495 kOsDesktop, |
482 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kActionBox, "1", | 496 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kActionBox, "1", |
483 switches::kActionBox, "0") | 497 switches::kActionBox, "0") |
484 }, | 498 }, |
485 { | 499 { |
486 "script-badges", | 500 "script-badges", |
487 IDS_FLAGS_SCRIPT_BADGES_NAME, | 501 IDS_FLAGS_SCRIPT_BADGES_NAME, |
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1813 } | 1827 } |
1814 | 1828 |
1815 const Experiment* GetExperiments(size_t* count) { | 1829 const Experiment* GetExperiments(size_t* count) { |
1816 *count = num_experiments; | 1830 *count = num_experiments; |
1817 return experiments; | 1831 return experiments; |
1818 } | 1832 } |
1819 | 1833 |
1820 } // namespace testing | 1834 } // namespace testing |
1821 | 1835 |
1822 } // namespace about_flags | 1836 } // namespace about_flags |
OLD | NEW |