Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 676053002: Update zero suggest flags to match experiments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update histograms file Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 switches::kEnableZeroCopy, ""}, 311 switches::kEnableZeroCopy, ""},
312 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, 312 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
313 switches::kDisableZeroCopy, ""} 313 switches::kDisableZeroCopy, ""}
314 }; 314 };
315 315
316 #if defined(OS_ANDROID) 316 #if defined(OS_ANDROID)
317 const Experiment::Choice kZeroSuggestExperimentsChoices[] = { 317 const Experiment::Choice kZeroSuggestExperimentsChoices[] = {
318 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, 318 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
319 { IDS_FLAGS_ZERO_SUGGEST_MOST_VISITED, 319 { IDS_FLAGS_ZERO_SUGGEST_MOST_VISITED,
320 switches::kEnableZeroSuggestMostVisited, ""}, 320 switches::kEnableZeroSuggestMostVisited, ""},
321 { IDS_FLAGS_ZERO_SUGGEST_ETHER_SERP, 321 { IDS_FLAGS_ZERO_SUGGEST_MOST_VISITED_WITHOUT_SERP,
322 switches::kEnableZeroSuggestEtherSerp, ""}, 322 switches::kEnableZeroSuggestMostVisitedWithoutSerp, ""},
323 { IDS_FLAGS_ZERO_SUGGEST_ETHER_NO_SERP,
324 switches::kEnableZeroSuggestEtherNoSerp, ""},
325 { IDS_FLAGS_ZERO_SUGGEST_PERSONALIZED,
326 switches::kEnableZeroSuggestPersonalized, ""},
327 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, 323 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
328 switches::kDisableZeroSuggest, ""} 324 switches::kDisableZeroSuggest, ""}
329 }; 325 };
330 #endif 326 #endif
331 327
332 const Experiment::Choice kNumRasterThreadsChoices[] = { 328 const Experiment::Choice kNumRasterThreadsChoices[] = {
333 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, 329 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
334 { IDS_FLAGS_NUM_RASTER_THREADS_ONE, switches::kNumRasterThreads, "1" }, 330 { IDS_FLAGS_NUM_RASTER_THREADS_ONE, switches::kNumRasterThreads, "1" },
335 { IDS_FLAGS_NUM_RASTER_THREADS_TWO, switches::kNumRasterThreads, "2" }, 331 { IDS_FLAGS_NUM_RASTER_THREADS_TWO, switches::kNumRasterThreads, "2" },
336 { IDS_FLAGS_NUM_RASTER_THREADS_THREE, switches::kNumRasterThreads, "3" }, 332 { IDS_FLAGS_NUM_RASTER_THREADS_THREE, switches::kNumRasterThreads, "3" },
(...skipping 2253 matching lines...) Expand 10 before | Expand all | Expand 10 after
2590 } 2586 }
2591 2587
2592 const Experiment* GetExperiments(size_t* count) { 2588 const Experiment* GetExperiments(size_t* count) {
2593 *count = num_experiments; 2589 *count = num_experiments;
2594 return experiments; 2590 return experiments;
2595 } 2591 }
2596 2592
2597 } // namespace testing 2593 } // namespace testing
2598 2594
2599 } // namespace about_flags 2595 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698