| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <iterator> | 7 #include <iterator> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 switches::kReaderModeHeuristics, | 332 switches::kReaderModeHeuristics, |
| 333 switches::reader_mode_heuristics::kOGArticle}, | 333 switches::reader_mode_heuristics::kOGArticle}, |
| 334 {flag_descriptions::kReaderModeHeuristicsAdaboost, | 334 {flag_descriptions::kReaderModeHeuristicsAdaboost, |
| 335 switches::kReaderModeHeuristics, | 335 switches::kReaderModeHeuristics, |
| 336 switches::reader_mode_heuristics::kAdaBoost}, | 336 switches::reader_mode_heuristics::kAdaBoost}, |
| 337 {flag_descriptions::kReaderModeHeuristicsAlwaysOn, | 337 {flag_descriptions::kReaderModeHeuristicsAlwaysOn, |
| 338 switches::kReaderModeHeuristics, | 338 switches::kReaderModeHeuristics, |
| 339 switches::reader_mode_heuristics::kAlwaysTrue}, | 339 switches::reader_mode_heuristics::kAlwaysTrue}, |
| 340 {flag_descriptions::kReaderModeHeuristicsAlwaysOff, | 340 {flag_descriptions::kReaderModeHeuristicsAlwaysOff, |
| 341 switches::kReaderModeHeuristics, switches::reader_mode_heuristics::kNone}, | 341 switches::kReaderModeHeuristics, switches::reader_mode_heuristics::kNone}, |
| 342 {flag_descriptions::kReaderModeHeuristicsAllArticles, |
| 343 switches::kReaderModeHeuristics, |
| 344 switches::reader_mode_heuristics::kAllArticles}, |
| 342 }; | 345 }; |
| 343 | 346 |
| 344 const FeatureEntry::Choice kChromeHomeSwipeLogicChoices[] = { | 347 const FeatureEntry::Choice kChromeHomeSwipeLogicChoices[] = { |
| 345 {flags_ui::kGenericExperimentChoiceDefault, "", ""}, | 348 {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 346 {flag_descriptions::kChromeHomeSwipeLogicRestrictArea, | 349 {flag_descriptions::kChromeHomeSwipeLogicRestrictArea, |
| 347 switches::kChromeHomeSwipeLogicType, "restrict-area"}, | 350 switches::kChromeHomeSwipeLogicType, "restrict-area"}, |
| 348 {flag_descriptions::kChromeHomeSwipeLogicButtonOnly, | 351 {flag_descriptions::kChromeHomeSwipeLogicButtonOnly, |
| 349 switches::kChromeHomeSwipeLogicType, "button-only"}, | 352 switches::kChromeHomeSwipeLogicType, "button-only"}, |
| 350 }; | 353 }; |
| 351 | 354 |
| (...skipping 2910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3262 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3265 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3263 | 3266 |
| 3264 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3267 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3265 *count = arraysize(kFeatureEntries); | 3268 *count = arraysize(kFeatureEntries); |
| 3266 return kFeatureEntries; | 3269 return kFeatureEntries; |
| 3267 } | 3270 } |
| 3268 | 3271 |
| 3269 } // namespace testing | 3272 } // namespace testing |
| 3270 | 3273 |
| 3271 } // namespace about_flags | 3274 } // namespace about_flags |
| OLD | NEW |