| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 "xss-auditor", // FLAGS:RECORD_UMA | 148 "xss-auditor", // FLAGS:RECORD_UMA |
| 149 IDS_FLAGS_XSS_AUDITOR_NAME, | 149 IDS_FLAGS_XSS_AUDITOR_NAME, |
| 150 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, | 150 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, |
| 151 kOsAll, | 151 kOsAll, |
| 152 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) | 152 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) |
| 153 }, | 153 }, |
| 154 { | 154 { |
| 155 "background-webapps", // FLAGS:RECORD_UMA | 155 "background-webapps", // FLAGS:RECORD_UMA |
| 156 IDS_FLAGS_BACKGROUND_WEBAPPS_NAME, | 156 IDS_FLAGS_BACKGROUND_WEBAPPS_NAME, |
| 157 IDS_FLAGS_BACKGROUND_WEBAPPS_DESCRIPTION, | 157 IDS_FLAGS_BACKGROUND_WEBAPPS_DESCRIPTION, |
| 158 kOsMac | kOsLinux | kOsCrOS, // Enabled by default on windows | 158 kOsLinux, // Enabled by default on windows and mac, not available on CrOS. |
| 159 SINGLE_VALUE_TYPE(switches::kEnableBackgroundMode) | 159 SINGLE_VALUE_TYPE(switches::kEnableBackgroundMode) |
| 160 }, | 160 }, |
| 161 { | 161 { |
| 162 "conflicting-modules-check", // FLAGS:RECORD_UMA | 162 "conflicting-modules-check", // FLAGS:RECORD_UMA |
| 163 IDS_FLAGS_CONFLICTS_CHECK_NAME, | 163 IDS_FLAGS_CONFLICTS_CHECK_NAME, |
| 164 IDS_FLAGS_CONFLICTS_CHECK_DESCRIPTION, | 164 IDS_FLAGS_CONFLICTS_CHECK_DESCRIPTION, |
| 165 kOsWin, | 165 kOsWin, |
| 166 SINGLE_VALUE_TYPE(switches::kConflictingModulesCheck) | 166 SINGLE_VALUE_TYPE(switches::kConflictingModulesCheck) |
| 167 }, | 167 }, |
| 168 { | 168 { |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 } | 690 } |
| 691 | 691 |
| 692 const Experiment* GetExperiments(size_t* count) { | 692 const Experiment* GetExperiments(size_t* count) { |
| 693 *count = num_experiments; | 693 *count = num_experiments; |
| 694 return experiments; | 694 return experiments; |
| 695 } | 695 } |
| 696 | 696 |
| 697 } // namespace testing | 697 } // namespace testing |
| 698 | 698 |
| 699 } // namespace about_flags | 699 } // namespace about_flags |
| OLD | NEW |