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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 SINGLE_VALUE_TYPE(switches::kEnablePnacl) | 466 SINGLE_VALUE_TYPE(switches::kEnablePnacl) |
467 }, | 467 }, |
468 { | 468 { |
469 "extension-apis", // FLAGS:RECORD_UMA | 469 "extension-apis", // FLAGS:RECORD_UMA |
470 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME, | 470 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME, |
471 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION, | 471 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION, |
472 kOsDesktop, | 472 kOsDesktop, |
473 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) | 473 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) |
474 }, | 474 }, |
475 { | 475 { |
| 476 "extensions-on-chrome-urls", |
| 477 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_NAME, |
| 478 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_DESCRIPTION, |
| 479 kOsAll, |
| 480 SINGLE_VALUE_TYPE(switches::kExtensionsOnChromeURLs) |
| 481 }, |
| 482 { |
476 "action-box", | 483 "action-box", |
477 IDS_FLAGS_ACTION_BOX_NAME, | 484 IDS_FLAGS_ACTION_BOX_NAME, |
478 IDS_FLAGS_ACTION_BOX_DESCRIPTION, | 485 IDS_FLAGS_ACTION_BOX_DESCRIPTION, |
479 kOsDesktop, | 486 kOsDesktop, |
480 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kActionBox, "1", | 487 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kActionBox, "1", |
481 switches::kActionBox, "0") | 488 switches::kActionBox, "0") |
482 }, | 489 }, |
483 { | 490 { |
484 "script-badges", | 491 "script-badges", |
485 IDS_FLAGS_SCRIPT_BADGES_NAME, | 492 IDS_FLAGS_SCRIPT_BADGES_NAME, |
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1772 } | 1779 } |
1773 | 1780 |
1774 const Experiment* GetExperiments(size_t* count) { | 1781 const Experiment* GetExperiments(size_t* count) { |
1775 *count = num_experiments; | 1782 *count = num_experiments; |
1776 return experiments; | 1783 return experiments; |
1777 } | 1784 } |
1778 | 1785 |
1779 } // namespace testing | 1786 } // namespace testing |
1780 | 1787 |
1781 } // namespace about_flags | 1788 } // namespace about_flags |
OLD | NEW |