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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 SINGLE_VALUE_TYPE(switches::kNoPings) | 657 SINGLE_VALUE_TYPE(switches::kNoPings) |
658 }, | 658 }, |
659 { | 659 { |
660 "tab-groups-context-menu", | 660 "tab-groups-context-menu", |
661 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, | 661 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, |
662 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, | 662 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, |
663 kOsWin, | 663 kOsWin, |
664 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu) | 664 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu) |
665 }, | 665 }, |
666 { | 666 { |
667 "enable-instant-extended-api", | |
668 IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API, | |
669 IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API_DESCRIPTION, | |
670 kOsMac | kOsWin | kOsCrOS, | |
671 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableInstantExtendedAPI, | |
672 switches::kDisableInstantExtendedAPI) | |
673 }, | |
674 { | |
675 "enable-local-first-load-ntp", | 667 "enable-local-first-load-ntp", |
676 IDS_FLAGS_ENABLE_LOCAL_FIRST_LOAD_NTP, | 668 IDS_FLAGS_ENABLE_LOCAL_FIRST_LOAD_NTP, |
677 IDS_FLAGS_ENABLE_LOCAL_FIRST_LOAD_NTP_DESCRIPTION, | 669 IDS_FLAGS_ENABLE_LOCAL_FIRST_LOAD_NTP_DESCRIPTION, |
678 kOsMac | kOsWin | kOsCrOS, | 670 kOsMac | kOsWin | kOsCrOS, |
679 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLocalFirstLoadNTP, | 671 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLocalFirstLoadNTP, |
680 switches::kDisableLocalFirstLoadNTP) | 672 switches::kDisableLocalFirstLoadNTP) |
681 }, | 673 }, |
682 #if defined(OS_ANDROID) | 674 #if defined(OS_ANDROID) |
683 { | 675 { |
684 "enable-new-ntp", | 676 "enable-new-ntp", |
(...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2324 } | 2316 } |
2325 | 2317 |
2326 const Experiment* GetExperiments(size_t* count) { | 2318 const Experiment* GetExperiments(size_t* count) { |
2327 *count = num_experiments; | 2319 *count = num_experiments; |
2328 return experiments; | 2320 return experiments; |
2329 } | 2321 } |
2330 | 2322 |
2331 } // namespace testing | 2323 } // namespace testing |
2332 | 2324 |
2333 } // namespace about_flags | 2325 } // namespace about_flags |
OLD | NEW |