| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 #endif | 115 #endif |
| 116 }, | 116 }, |
| 117 { | 117 { |
| 118 "vertical-tabs", // FLAGS:RECORD_UMA | 118 "vertical-tabs", // FLAGS:RECORD_UMA |
| 119 IDS_FLAGS_SIDE_TABS_NAME, | 119 IDS_FLAGS_SIDE_TABS_NAME, |
| 120 IDS_FLAGS_SIDE_TABS_DESCRIPTION, | 120 IDS_FLAGS_SIDE_TABS_DESCRIPTION, |
| 121 kOsWin | kOsCrOS, | 121 kOsWin | kOsCrOS, |
| 122 SINGLE_VALUE_TYPE(switches::kEnableVerticalTabs) | 122 SINGLE_VALUE_TYPE(switches::kEnableVerticalTabs) |
| 123 }, | 123 }, |
| 124 { | 124 { |
| 125 "tabbed-options", // FLAGS:RECORD_UMA | |
| 126 IDS_FLAGS_TABBED_OPTIONS_NAME, | |
| 127 IDS_FLAGS_TABBED_OPTIONS_DESCRIPTION, | |
| 128 kOsWin | kOsLinux | kOsMac, // Enabled by default on CrOS. | |
| 129 SINGLE_VALUE_TYPE(switches::kEnableTabbedOptions) | |
| 130 }, | |
| 131 { | |
| 132 "remoting", // FLAGS:RECORD_UMA | 125 "remoting", // FLAGS:RECORD_UMA |
| 133 IDS_FLAGS_REMOTING_NAME, | 126 IDS_FLAGS_REMOTING_NAME, |
| 134 #if defined(OS_WIN) | 127 #if defined(OS_WIN) |
| 135 // Windows only supports host functionality at the moment. | 128 // Windows only supports host functionality at the moment. |
| 136 IDS_FLAGS_REMOTING_HOST_DESCRIPTION, | 129 IDS_FLAGS_REMOTING_HOST_DESCRIPTION, |
| 137 #elif defined(OS_LINUX) // Also true for CrOS. | 130 #elif defined(OS_LINUX) // Also true for CrOS. |
| 138 // Linux only supports client functionality at the moment. | 131 // Linux only supports client functionality at the moment. |
| 139 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, | 132 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, |
| 140 #else | 133 #else |
| 141 // On other platforms, this lab isn't available at all. | 134 // On other platforms, this lab isn't available at all. |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 } | 676 } |
| 684 | 677 |
| 685 const Experiment* GetExperiments(size_t* count) { | 678 const Experiment* GetExperiments(size_t* count) { |
| 686 *count = num_experiments; | 679 *count = num_experiments; |
| 687 return experiments; | 680 return experiments; |
| 688 } | 681 } |
| 689 | 682 |
| 690 } // namespace testing | 683 } // namespace testing |
| 691 | 684 |
| 692 } // namespace about_flags | 685 } // namespace about_flags |
| OLD | NEW |