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

Unified Diff: content/common/sandbox_init_wrapper_mac.cc

Issue 8113035: Remove RenderProcessHost::is_extension_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 2 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/content_switches.cc ('k') | content/common/sandbox_init_wrapper_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_init_wrapper_mac.cc
diff --git a/content/common/sandbox_init_wrapper_mac.cc b/content/common/sandbox_init_wrapper_mac.cc
index 00c6f267fdf4d94109c76e10043db124dd457238..afb4296f779ee53433980568e2c7c94c2edc2c4b 100644
--- a/content/common/sandbox_init_wrapper_mac.cc
+++ b/content/common/sandbox_init_wrapper_mac.cc
@@ -34,15 +34,6 @@ bool SandboxInitWrapper::InitializeSandbox(const CommandLine& command_line,
} else {
sandbox_process_type = Sandbox::SANDBOX_TYPE_RENDERER;
}
- } else if (process_type == switches::kExtensionProcess) {
- // Extension processes are just renderers [they use RenderMain()] with a
- // different set of command line flags.
- // If we ever get here it means something has changed in regards
- // to the extension process mechanics and we should probably reexamine
- // how we sandbox extension processes since they are no longer identical
- // to renderers.
- NOTREACHED();
- return true;
} else if (process_type == switches::kUtilityProcess) {
// Utility process sandbox.
sandbox_process_type = Sandbox::SANDBOX_TYPE_UTILITY;
« no previous file with comments | « content/common/content_switches.cc ('k') | content/common/sandbox_init_wrapper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698