From 6407f289f81ac09476e66c59fc4887eb46112981 Mon Sep 17 00:00:00 2001 From: "ddorwin@chromium.org" Date: Thu, 14 Apr 2011 02:41:09 +0000 Subject: Added ppp_broker.h and parameterized PpapiThread to support the broker process. BUG=none TEST=none Review URL: http://codereview.chromium.org/6813071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81524 0039d316-1c4b-4281-b951-d872f2087c98 --- content/ppapi_plugin/ppapi_broker_main.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'content/ppapi_plugin/ppapi_broker_main.cc') diff --git a/content/ppapi_plugin/ppapi_broker_main.cc b/content/ppapi_plugin/ppapi_broker_main.cc index edaaa10..7b63f56 100644 --- a/content/ppapi_plugin/ppapi_broker_main.cc +++ b/content/ppapi_plugin/ppapi_broker_main.cc @@ -14,15 +14,14 @@ int PpapiBrokerMain(const MainFunctionParams& parameters) { const CommandLine& command_line = parameters.command_line_; if (command_line.HasSwitch(switches::kPpapiStartupDialog)) { - ChildProcess::WaitForDebugger("Ppapi"); + ChildProcess::WaitForDebugger("PpapiBroker"); } MessageLoop main_message_loop(MessageLoop::TYPE_DEFAULT); base::PlatformThread::SetName("CrPPAPIBrokerMain"); ChildProcess ppapi_broker_process; - //TODO:(ddorwin): Parameterize PpapiThread so the broker can reuse it. - ppapi_broker_process.set_main_thread(new PpapiThread()); + ppapi_broker_process.set_main_thread(new PpapiThread(true)); // Broker. main_message_loop.Run(); return 0; -- cgit v1.1