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 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1788 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_NAME, | 1788 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_NAME, |
1789 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_DESCRIPTION, | 1789 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_DESCRIPTION, |
1790 kOsAndroid, | 1790 kOsAndroid, |
1791 #if defined(OS_ANDROID) | 1791 #if defined(OS_ANDROID) |
1792 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToHomescreen, | 1792 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToHomescreen, |
1793 switches::kDisableAddToHomescreen), | 1793 switches::kDisableAddToHomescreen), |
1794 #else | 1794 #else |
1795 SINGLE_VALUE_TYPE("") | 1795 SINGLE_VALUE_TYPE("") |
1796 #endif | 1796 #endif |
1797 }, | 1797 }, |
1798 #if defined(OS_ANDROID) | |
1799 { | |
1800 "enable-cast", | |
1801 IDS_FLAGS_ENABLE_CAST_NAME, | |
1802 IDS_FLAGS_ENABLE_CAST_DESCRIPTION, | |
1803 kOsAndroid, | |
1804 SINGLE_VALUE_TYPE(switches::kEnableCast) | |
1805 }, | |
1806 #endif | |
1807 #if defined(OS_CHROMEOS) | 1798 #if defined(OS_CHROMEOS) |
1808 { | 1799 { |
1809 "disable-first-run-ui", | 1800 "disable-first-run-ui", |
1810 IDS_FLAGS_DISABLE_FIRST_RUN_UI_NAME, | 1801 IDS_FLAGS_DISABLE_FIRST_RUN_UI_NAME, |
1811 IDS_FLAGS_DISABLE_FIRST_RUN_UI_DESCRIPTION, | 1802 IDS_FLAGS_DISABLE_FIRST_RUN_UI_DESCRIPTION, |
1812 kOsCrOS, | 1803 kOsCrOS, |
1813 SINGLE_VALUE_TYPE(chromeos::switches::kDisableFirstRunUI) | 1804 SINGLE_VALUE_TYPE(chromeos::switches::kDisableFirstRunUI) |
1814 }, | 1805 }, |
1815 { | 1806 { |
1816 "enable-first-run-ui-transitions", | 1807 "enable-first-run-ui-transitions", |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2463 } | 2454 } |
2464 | 2455 |
2465 const Experiment* GetExperiments(size_t* count) { | 2456 const Experiment* GetExperiments(size_t* count) { |
2466 *count = num_experiments; | 2457 *count = num_experiments; |
2467 return experiments; | 2458 return experiments; |
2468 } | 2459 } |
2469 | 2460 |
2470 } // namespace testing | 2461 } // namespace testing |
2471 | 2462 |
2472 } // namespace about_flags | 2463 } // namespace about_flags |
OLD | NEW |