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

Unified Diff: content/common/sandbox_linux/sandbox_linux.cc

Issue 449333002: Remove shared worker process related codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/sandbox_init_mac.cc ('k') | content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux/sandbox_linux.cc
diff --git a/content/common/sandbox_linux/sandbox_linux.cc b/content/common/sandbox_linux/sandbox_linux.cc
index 88afef9295e75b6a45476e7ad9fce09ae96cbc1b..9e8a117508b719fc84d337a65ff9587db3b0943b 100644
--- a/content/common/sandbox_linux/sandbox_linux.cc
+++ b/content/common/sandbox_linux/sandbox_linux.cc
@@ -354,7 +354,6 @@ bool LinuxSandbox::LimitAddressSpace(const std::string& process_type) {
// For now, increase limit to 16GB for renderer and worker and gpu processes
// to accomodate.
if (process_type == switches::kRendererProcess ||
- process_type == switches::kWorkerProcess ||
process_type == switches::kGpuProcess) {
address_space_limit = 1L << 34;
}
@@ -393,7 +392,6 @@ void LinuxSandbox::CheckForBrokenPromises(const std::string& process_type) {
// Make sure that any promise made with GetStatus() wasn't broken.
bool promised_seccomp_bpf_would_start = false;
if (process_type == switches::kRendererProcess ||
- process_type == switches::kWorkerProcess ||
process_type == switches::kPpapiPluginProcess) {
promised_seccomp_bpf_would_start =
(sandbox_status_flags_ != kSandboxLinuxInvalid) &&
« no previous file with comments | « content/common/sandbox_init_mac.cc ('k') | content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698