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

Unified Diff: chrome/browser/about_flags.cc

Issue 1192633003: content: Rename raster threads to worker threads. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6639dd8c758968e87445f1b2083b825f27aa212d..bb2a5b4ff8ca01c50791ae601bff4edfb5afec30 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -326,13 +326,12 @@ const Experiment::Choice kReaderModeHeuristicsChoices[] = {
};
#endif
-const Experiment::Choice kNumRasterThreadsChoices[] = {
- { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
- { IDS_FLAGS_NUM_RASTER_THREADS_ONE, switches::kNumRasterThreads, "1" },
- { IDS_FLAGS_NUM_RASTER_THREADS_TWO, switches::kNumRasterThreads, "2" },
- { IDS_FLAGS_NUM_RASTER_THREADS_THREE, switches::kNumRasterThreads, "3" },
- { IDS_FLAGS_NUM_RASTER_THREADS_FOUR, switches::kNumRasterThreads, "4" }
-};
+const Experiment::Choice kNumWorkerThreadsChoices[] = {
+ {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ""},
+ {IDS_FLAGS_NUM_WORKER_THREADS_ONE, switches::kNumWorkerThreads, "1"},
+ {IDS_FLAGS_NUM_WORKER_THREADS_TWO, switches::kNumWorkerThreads, "2"},
+ {IDS_FLAGS_NUM_WORKER_THREADS_THREE, switches::kNumWorkerThreads, "3"},
+ {IDS_FLAGS_NUM_WORKER_THREADS_FOUR, switches::kNumWorkerThreads, "4"}};
const Experiment::Choice kGpuRasterizationMSAASampleCountChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT,
@@ -1490,11 +1489,11 @@ const Experiment kExperiments[] = {
kOsAndroid,
SINGLE_VALUE_TYPE(switches::kEnableDomDistillerButtonAnimation)},
#endif
- {"num-raster-threads",
- IDS_FLAGS_NUM_RASTER_THREADS_NAME,
- IDS_FLAGS_NUM_RASTER_THREADS_DESCRIPTION,
+ {"num-worker-threads",
+ IDS_FLAGS_NUM_WORKER_THREADS_NAME,
+ IDS_FLAGS_NUM_WORKER_THREADS_DESCRIPTION,
kOsAll,
- MULTI_VALUE_TYPE(kNumRasterThreadsChoices)},
+ MULTI_VALUE_TYPE(kNumWorkerThreadsChoices)},
{"enable-single-click-autofill",
IDS_FLAGS_ENABLE_SINGLE_CLICK_AUTOFILL_NAME,
IDS_FLAGS_ENABLE_SINGLE_CLICK_AUTOFILL_DESCRIPTION,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698