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

Unified Diff: content/worker/worker_main.cc

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac 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
« no previous file with comments | « content/worker/websharedworkerclient_proxy.cc ('k') | content/worker/worker_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/worker_main.cc
===================================================================
--- content/worker/worker_main.cc (revision 163080)
+++ content/worker/worker_main.cc (working copy)
@@ -18,8 +18,10 @@
#include "sandbox/win/src/sandbox.h"
#endif
+namespace content {
+
// Mainline routine for running as the worker process.
-int WorkerMain(const content::MainFunctionParams& parameters) {
+int WorkerMain(const MainFunctionParams& parameters) {
// The main message loop of the worker process.
MessageLoop main_message_loop;
base::PlatformThread::SetName("CrWorkerMain");
@@ -46,7 +48,7 @@
#endif
#if defined(OS_LINUX)
- content::InitializeSandbox();
+ InitializeSandbox();
#endif
const CommandLine& parsed_command_line = parameters.command_line;
@@ -60,3 +62,5 @@
return 0;
}
+
+} // namespace content
« no previous file with comments | « content/worker/websharedworkerclient_proxy.cc ('k') | content/worker/worker_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698