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

Unified Diff: content/ppapi_plugin/ppapi_plugin_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/ppapi_plugin/ppapi_broker_main.cc ('k') | content/ppapi_plugin/ppapi_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_plugin_main.cc
===================================================================
--- content/ppapi_plugin/ppapi_plugin_main.cc (revision 163080)
+++ content/ppapi_plugin/ppapi_plugin_main.cc (working copy)
@@ -33,8 +33,10 @@
void* g_target_services = 0;
#endif
+namespace content {
+
// Main function for starting the PPAPI plugin process.
-int PpapiPluginMain(const content::MainFunctionParams& parameters) {
+int PpapiPluginMain(const MainFunctionParams& parameters) {
const CommandLine& command_line = parameters.command_line;
#if defined(OS_WIN)
@@ -77,7 +79,7 @@
base::PlatformThread::SetName("CrPPAPIMain");
#if defined(OS_LINUX)
- content::InitializeSandbox();
+ InitializeSandbox();
#endif
ChildProcess ppapi_process;
@@ -87,3 +89,5 @@
main_message_loop.Run();
return 0;
}
+
+} // namespace content
« no previous file with comments | « content/ppapi_plugin/ppapi_broker_main.cc ('k') | content/ppapi_plugin/ppapi_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698