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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2020243004: content: Rename num raster threads -> num worker threads. Base URL: https://chromium.googlesource.com/chromium/src.git@categorized_worker_pool_3
Patch Set: build break Created 4 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 unified diff | Download patch
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 const char kNoReferrers[] = "no-referrers"; 658 const char kNoReferrers[] = "no-referrers";
659 659
660 // Disables the sandbox for all process types that are normally sandboxed. 660 // Disables the sandbox for all process types that are normally sandboxed.
661 const char kNoSandbox[] = "no-sandbox"; 661 const char kNoSandbox[] = "no-sandbox";
662 662
663 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms. 663 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms.
664 const char kEnableAppContainer[] = "enable-appcontainer"; 664 const char kEnableAppContainer[] = "enable-appcontainer";
665 const char kDisableAppContainer[] = "disable-appcontainer"; 665 const char kDisableAppContainer[] = "disable-appcontainer";
666 666
667 // Number of worker threads used to rasterize content. 667 // Number of worker threads used to rasterize content.
668 const char kNumRasterThreads[] = "num-raster-threads"; 668 const char kNumCategorizedWorkerThreads[] = "num-categorized-worker-threads";
sky 2016/06/07 15:43:45 I am not familiar with this code, but given the co
prashant.n 2016/06/07 15:57:15 I'll change the comment. Basically these threads a
669 669
670 // Override the behavior of plugin throttling for testing. 670 // Override the behavior of plugin throttling for testing.
671 // By default the throttler is only enabled for a hard-coded list of plugins. 671 // By default the throttler is only enabled for a hard-coded list of plugins.
672 // Set the value to 'ignore-list' to ignore the hard-coded list. 672 // Set the value to 'ignore-list' to ignore the hard-coded list.
673 // Set the value to 'always' to always throttle every plugin instance. 673 // Set the value to 'always' to always throttle every plugin instance.
674 const char kOverridePluginPowerSaverForTesting[] = 674 const char kOverridePluginPowerSaverForTesting[] =
675 "override-plugin-power-saver-for-testing"; 675 "override-plugin-power-saver-for-testing";
676 676
677 // Controls the behavior of history navigation in response to horizontal 677 // Controls the behavior of history navigation in response to horizontal
678 // overscroll. 678 // overscroll.
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1050 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1051 1051
1052 // Enables the exporting of the tracing events to ETW. This is only supported on 1052 // Enables the exporting of the tracing events to ETW. This is only supported on
1053 // Windows Vista and later. 1053 // Windows Vista and later.
1054 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1054 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1055 #endif 1055 #endif
1056 1056
1057 // Don't dump stuff here, follow the same order as the header. 1057 // Don't dump stuff here, follow the same order as the header.
1058 1058
1059 } // namespace switches 1059 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698