| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 SINGLE_VALUE_TYPE(switches::kNoPings) | 234 SINGLE_VALUE_TYPE(switches::kNoPings) |
| 235 }, | 235 }, |
| 236 { | 236 { |
| 237 "experimental-location-features", // FLAGS:RECORD_UMA | 237 "experimental-location-features", // FLAGS:RECORD_UMA |
| 238 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_NAME, | 238 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_NAME, |
| 239 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_DESCRIPTION, | 239 IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_DESCRIPTION, |
| 240 kOsMac | kOsWin | kOsLinux, // Currently does nothing on CrOS. | 240 kOsMac | kOsWin | kOsLinux, // Currently does nothing on CrOS. |
| 241 SINGLE_VALUE_TYPE(switches::kExperimentalLocationFeatures) | 241 SINGLE_VALUE_TYPE(switches::kExperimentalLocationFeatures) |
| 242 }, | 242 }, |
| 243 { | 243 { |
| 244 "block-reading-third-party-cookies", | |
| 245 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_NAME, | |
| 246 IDS_FLAGS_BLOCK_ALL_THIRD_PARTY_COOKIES_DESCRIPTION, | |
| 247 kOsAll, | |
| 248 SINGLE_VALUE_TYPE(switches::kBlockReadingThirdPartyCookies) | |
| 249 }, | |
| 250 { | |
| 251 "disable-interactive-form-validation", | 244 "disable-interactive-form-validation", |
| 252 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, | 245 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_NAME, |
| 253 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, | 246 IDS_FLAGS_DISABLE_INTERACTIVE_FORM_VALIDATION_DESCRIPTION, |
| 254 kOsAll, | 247 kOsAll, |
| 255 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) | 248 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) |
| 256 }, | 249 }, |
| 257 { | 250 { |
| 258 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA | 251 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA |
| 259 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, | 252 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, |
| 260 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, | 253 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 } | 836 } |
| 844 | 837 |
| 845 const Experiment* GetExperiments(size_t* count) { | 838 const Experiment* GetExperiments(size_t* count) { |
| 846 *count = num_experiments; | 839 *count = num_experiments; |
| 847 return experiments; | 840 return experiments; |
| 848 } | 841 } |
| 849 | 842 |
| 850 } // namespace testing | 843 } // namespace testing |
| 851 | 844 |
| 852 } // namespace about_flags | 845 } // namespace about_flags |
| OLD | NEW |