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

Unified Diff: content/renderer/renderer_main_platform_delegate_linux.cc

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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
Index: content/renderer/renderer_main_platform_delegate_linux.cc
===================================================================
--- content/renderer/renderer_main_platform_delegate_linux.cc (revision 163290)
+++ content/renderer/renderer_main_platform_delegate_linux.cc (working copy)
@@ -8,8 +8,10 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/sandbox_init.h"
+namespace content {
+
RendererMainPlatformDelegate::RendererMainPlatformDelegate(
- const content::MainFunctionParams& parameters)
+ const MainFunctionParams& parameters)
: parameters_(parameters) {
}
@@ -34,7 +36,7 @@
//
// The seccomp sandbox mode 1 (sandbox/linux/seccomp-legacy) and mode 2
// (sandbox/linux/seccomp-bpf) are started in InitializeSandbox().
- content::InitializeSandbox();
+ InitializeSandbox();
return true;
}
@@ -42,3 +44,5 @@
// The sandbox is started in the zygote process: zygote_main_linux.cc
// http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
}
+
+} // namespace content
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_android.cc ('k') | content/renderer/renderer_main_platform_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698