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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // Linux only supports client functionality at the moment. | 138 // Linux only supports client functionality at the moment. |
139 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, | 139 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, |
140 #else | 140 #else |
141 // On other platforms, this lab isn't available at all. | 141 // On other platforms, this lab isn't available at all. |
142 0, | 142 0, |
143 #endif | 143 #endif |
144 kOsWin | kOsLinux | kOsCrOS, | 144 kOsWin | kOsLinux | kOsCrOS, |
145 SINGLE_VALUE_TYPE(switches::kEnableRemoting) | 145 SINGLE_VALUE_TYPE(switches::kEnableRemoting) |
146 }, | 146 }, |
147 { | 147 { |
148 "disable-outdated-plugins", // FLAGS:RECORD_UMA | |
149 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_NAME, | |
150 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_DESCRIPTION, | |
151 kOsAll, | |
152 SINGLE_VALUE_TYPE(switches::kBlockOutdatedPlugins) | |
153 }, | |
154 { | |
155 "xss-auditor", // FLAGS:RECORD_UMA | 148 "xss-auditor", // FLAGS:RECORD_UMA |
156 IDS_FLAGS_XSS_AUDITOR_NAME, | 149 IDS_FLAGS_XSS_AUDITOR_NAME, |
157 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, | 150 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, |
158 kOsAll, | 151 kOsAll, |
159 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) | 152 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) |
160 }, | 153 }, |
161 { | 154 { |
162 "background-webapps", // FLAGS:RECORD_UMA | 155 "background-webapps", // FLAGS:RECORD_UMA |
163 IDS_FLAGS_BACKGROUND_WEBAPPS_NAME, | 156 IDS_FLAGS_BACKGROUND_WEBAPPS_NAME, |
164 IDS_FLAGS_BACKGROUND_WEBAPPS_DESCRIPTION, | 157 IDS_FLAGS_BACKGROUND_WEBAPPS_DESCRIPTION, |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 } | 690 } |
698 | 691 |
699 const Experiment* GetExperiments(size_t* count) { | 692 const Experiment* GetExperiments(size_t* count) { |
700 *count = num_experiments; | 693 *count = num_experiments; |
701 return experiments; | 694 return experiments; |
702 } | 695 } |
703 | 696 |
704 } // namespace testing | 697 } // namespace testing |
705 | 698 |
706 } // namespace about_flags | 699 } // namespace about_flags |
OLD | NEW |