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

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

Issue 1230133005: Fix Resource Priorities and Scheduling (Chrome Side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 4 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 // Enable rasterizer that writes directly to GPU memory associated with tiles. 488 // Enable rasterizer that writes directly to GPU memory associated with tiles.
489 const char kEnableZeroCopy[] = "enable-zero-copy"; 489 const char kEnableZeroCopy[] = "enable-zero-copy";
490 490
491 // Explicitly allows additional ports using a comma-separated list of port 491 // Explicitly allows additional ports using a comma-separated list of port
492 // numbers. 492 // numbers.
493 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; 493 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
494 494
495 // Load NPAPI plugins from the specified directory. 495 // Load NPAPI plugins from the specified directory.
496 const char kExtraPluginDir[] = "extra-plugin-dir"; 496 const char kExtraPluginDir[] = "extra-plugin-dir";
497 497
498 // Resource fetching mode (for lab testing)
499 const char kFetchMode[] = "fetch-mode";
500
498 // This option can be used to force field trials when testing changes locally. 501 // This option can be used to force field trials when testing changes locally.
499 // The argument is a list of name and value pairs, separated by slashes. If a 502 // The argument is a list of name and value pairs, separated by slashes. If a
500 // trial name is prefixed with an asterisk, that trial will start activated. 503 // trial name is prefixed with an asterisk, that trial will start activated.
501 // For example, the following argument defines two trials, with the second one 504 // For example, the following argument defines two trials, with the second one
502 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" 505 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/"
503 // This option is also used by the browser to send the list of trials to 506 // This option is also used by the browser to send the list of trials to
504 // renderers, using the same format. See 507 // renderers, using the same format. See
505 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. 508 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details.
506 const char kForceFieldTrials[] = "force-fieldtrials"; 509 const char kForceFieldTrials[] = "force-fieldtrials";
507 510
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1010 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1008 1011
1009 // Enables the exporting of the tracing events to ETW. This is only supported on 1012 // Enables the exporting of the tracing events to ETW. This is only supported on
1010 // Windows Vista and later. 1013 // Windows Vista and later.
1011 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1014 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1012 #endif 1015 #endif
1013 1016
1014 // Don't dump stuff here, follow the same order as the header. 1017 // Don't dump stuff here, follow the same order as the header.
1015 1018
1016 } // namespace switches 1019 } // namespace switches
OLDNEW
« content/browser/loader/resource_scheduler.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698