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

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

Issue 2914893002: Move some of IOThread's command line logic to network_session_configurator. (Closed)
Patch Set: Fix merge Created 3 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/shell/BUILD.gn » ('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 "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 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 565
566 // Allows shmat() system call in the GPU sandbox. 566 // Allows shmat() system call in the GPU sandbox.
567 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; 567 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm";
568 568
569 // Makes GPU sandbox failures fatal. 569 // Makes GPU sandbox failures fatal.
570 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; 570 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal";
571 571
572 // Causes the GPU process to display a dialog on launch. 572 // Causes the GPU process to display a dialog on launch.
573 const char kGpuStartupDialog[] = "gpu-startup-dialog"; 573 const char kGpuStartupDialog[] = "gpu-startup-dialog";
574 574
575 // Ignores certificate-related errors.
576 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
577
578 // Don't allow content to arbitrarily append to the back/forward list. 575 // Don't allow content to arbitrarily append to the back/forward list.
579 // The page must prcoess a user gesture before an entry can be added. 576 // The page must prcoess a user gesture before an entry can be added.
580 const char kHistoryEntryRequiresUserGesture[] = 577 const char kHistoryEntryRequiresUserGesture[] =
581 "history-entry-requires-user-gesture"; 578 "history-entry-requires-user-gesture";
582 579
583 // These mappings only apply to the host resolver. 580 // These mappings only apply to the host resolver.
584 const char kHostResolverRules[] = "host-resolver-rules"; 581 const char kHostResolverRules[] = "host-resolver-rules";
585 582
586 // Makes all APIs reflect the layout viewport. 583 // Makes all APIs reflect the layout viewport.
587 const char kInertVisualViewport[] = "inert-visual-viewport"; 584 const char kInertVisualViewport[] = "inert-visual-viewport";
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 // had pressed F11 right after startup. 827 // had pressed F11 right after startup.
831 const char kStartFullscreen[] = "start-fullscreen"; 828 const char kStartFullscreen[] = "start-fullscreen";
832 829
833 // Specifies if the |StatsCollectionController| needs to be bound in the 830 // Specifies if the |StatsCollectionController| needs to be bound in the
834 // renderer. This binding happens on per-frame basis and hence can potentially 831 // renderer. This binding happens on per-frame basis and hence can potentially
835 // be a performance bottleneck. One should only enable it when running a test 832 // be a performance bottleneck. One should only enable it when running a test
836 // that needs to access the provided statistics. 833 // that needs to access the provided statistics.
837 const char kStatsCollectionController[] = 834 const char kStatsCollectionController[] =
838 "enable-stats-collection-bindings"; 835 "enable-stats-collection-bindings";
839 836
840 // Allows for forcing socket connections to http/https to use fixed ports.
841 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
842 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
843
844 // Type of the current test harness ("browser" or "ui"). 837 // Type of the current test harness ("browser" or "ui").
845 const char kTestType[] = "test-type"; 838 const char kTestType[] = "test-type";
846 839
847 // Enable support for touch event feature detection. 840 // Enable support for touch event feature detection.
848 const char kTouchEventFeatureDetection[] = "touch-events"; 841 const char kTouchEventFeatureDetection[] = "touch-events";
849 842
850 // The values the kTouchEventFeatureDetection switch may have, as in 843 // The values the kTouchEventFeatureDetection switch may have, as in
851 // --touch-events=disabled. 844 // --touch-events=disabled.
852 // auto: enabled at startup when an attached touchscreen is present. 845 // auto: enabled at startup when an attached touchscreen is present.
853 const char kTouchEventFeatureDetectionAuto[] = "auto"; 846 const char kTouchEventFeatureDetectionAuto[] = "auto";
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 // The flag tells the sandbox initialization code inside Chrome that the sandbox 1081 // The flag tells the sandbox initialization code inside Chrome that the sandbox
1089 // should already be enabled. 1082 // should already be enabled.
1090 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as 1083 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as
1091 // processes will be assumed to run under the V2 sandbox. 1084 // processes will be assumed to run under the V2 sandbox.
1092 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; 1085 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled";
1093 #endif // defined(OS_MACOSX) 1086 #endif // defined(OS_MACOSX)
1094 1087
1095 // Don't dump stuff here, follow the same order as the header. 1088 // Don't dump stuff here, follow the same order as the header.
1096 1089
1097 } // namespace switches 1090 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698