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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "remoting", // FLAGS:RECORD_UMA | 125 "remoting", // FLAGS:RECORD_UMA |
126 IDS_FLAGS_REMOTING_NAME, | 126 IDS_FLAGS_REMOTING_NAME, |
127 #if defined(OS_WIN) | 127 IDS_FLAGS_REMOTING_DESCRIPTION, |
128 // Windows only supports host functionality at the moment. | 128 kOsAll, |
129 IDS_FLAGS_REMOTING_HOST_DESCRIPTION, | |
130 #elif defined(OS_LINUX) // Also true for CrOS. | |
131 // Linux only supports client functionality at the moment. | |
132 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, | |
133 #else | |
134 // On other platforms, this lab isn't available at all. | |
135 0, | |
136 #endif | |
137 kOsWin | kOsLinux | kOsCrOS, | |
138 SINGLE_VALUE_TYPE(switches::kEnableRemoting) | 129 SINGLE_VALUE_TYPE(switches::kEnableRemoting) |
139 }, | 130 }, |
140 { | 131 { |
141 "xss-auditor", // FLAGS:RECORD_UMA | 132 "xss-auditor", // FLAGS:RECORD_UMA |
142 IDS_FLAGS_XSS_AUDITOR_NAME, | 133 IDS_FLAGS_XSS_AUDITOR_NAME, |
143 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, | 134 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, |
144 kOsAll, | 135 kOsAll, |
145 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) | 136 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) |
146 }, | 137 }, |
147 { | 138 { |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 } | 681 } |
691 | 682 |
692 const Experiment* GetExperiments(size_t* count) { | 683 const Experiment* GetExperiments(size_t* count) { |
693 *count = num_experiments; | 684 *count = num_experiments; |
694 return experiments; | 685 return experiments; |
695 } | 686 } |
696 | 687 |
697 } // namespace testing | 688 } // namespace testing |
698 | 689 |
699 } // namespace about_flags | 690 } // namespace about_flags |
OLD | NEW |