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

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

Issue 804263005: Removing --assert-test commandline flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors Created 5 years, 11 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') | no next file » | 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 "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 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Choose which logging channels in blink platform to activate. See 47 // Choose which logging channels in blink platform to activate. See
48 // Logging.cpp in blink's Source/platform for a list of available channels. 48 // Logging.cpp in blink's Source/platform for a list of available channels.
49 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; 49 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels";
50 50
51 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in 51 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in
52 // subresources when a document is not supposed to read them. This will later 52 // subresources when a document is not supposed to read them. This will later
53 // allow us to block them from the entire renderer process when site isolation 53 // allow us to block them from the entire renderer process when site isolation
54 // is enabled. 54 // is enabled.
55 const char kBlockCrossSiteDocuments[] = "block-cross-site-documents"; 55 const char kBlockCrossSiteDocuments[] = "block-cross-site-documents";
56 56
57 // Causes the browser process to throw an assertion on startup.
58 const char kBrowserAssertTest[] = "assert-test";
59
60 // Causes the browser process to crash on startup. 57 // Causes the browser process to crash on startup.
61 const char kBrowserCrashTest[] = "crash-test"; 58 const char kBrowserCrashTest[] = "crash-test";
62 59
63 // Path to the exe to run for the renderer and plugin subprocesses. 60 // Path to the exe to run for the renderer and plugin subprocesses.
64 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 61 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
65 62
66 // Dumps extra logging about plugin loading to the log file. 63 // Dumps extra logging about plugin loading to the log file.
67 const char kDebugPluginLoading[] = "debug-plugin-loading"; 64 const char kDebugPluginLoading[] = "debug-plugin-loading";
68 65
69 // Sets the tile size used by composited layers. 66 // Sets the tile size used by composited layers.
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 966 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
970 return false; 967 return false;
971 // Default. 968 // Default.
972 return group_name == "Enabled"; 969 return group_name == "Enabled";
973 } 970 }
974 #endif 971 #endif
975 972
976 // Don't dump stuff here, follow the same order as the header. 973 // Don't dump stuff here, follow the same order as the header.
977 974
978 } // namespace switches 975 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698