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

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

Issue 156963003: Support replacement of IP address resolutions via command line flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: General cleanup Created 6 years, 10 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 | Annotate | Revision Log
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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 680
681 // Ignores certificate-related errors. 681 // Ignores certificate-related errors.
682 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; 682 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
683 683
684 // Ignores GPU blacklist. 684 // Ignores GPU blacklist.
685 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; 685 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
686 686
687 // Run the GPU process as a thread in the browser process. 687 // Run the GPU process as a thread in the browser process.
688 const char kInProcessGPU[] = "in-process-gpu"; 688 const char kInProcessGPU[] = "in-process-gpu";
689 689
690 // These mappings only apply to the host resolver, and can insert additional
691 // resolutions in front of resolutions that match a pattern.
692 const char kIpResolverRules[] = "ip-resolver-rules";
693
690 // Specifies the flags passed to JS engine 694 // Specifies the flags passed to JS engine
691 const char kJavaScriptFlags[] = "js-flags"; 695 const char kJavaScriptFlags[] = "js-flags";
692 696
693 // Load an NPAPI plugin from the specified path. 697 // Load an NPAPI plugin from the specified path.
694 const char kLoadPlugin[] = "load-plugin"; 698 const char kLoadPlugin[] = "load-plugin";
695 699
696 // Logs GPU control list decisions when enforcing blacklist rules. 700 // Logs GPU control list decisions when enforcing blacklist rules.
697 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions"; 701 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions";
698 702
699 // Sets the minimum log level. Valid values are from 0 to 3: 703 // Sets the minimum log level. Valid values are from 0 to 3:
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 #endif 1066 #endif
1063 1067
1064 #if defined(OS_POSIX) 1068 #if defined(OS_POSIX)
1065 // Causes the child processes to cleanly exit via calling exit(). 1069 // Causes the child processes to cleanly exit via calling exit().
1066 const char kChildCleanExit[] = "child-clean-exit"; 1070 const char kChildCleanExit[] = "child-clean-exit";
1067 #endif 1071 #endif
1068 1072
1069 // Don't dump stuff here, follow the same order as the header. 1073 // Don't dump stuff here, follow the same order as the header.
1070 1074
1071 } // namespace switches 1075 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698