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

Side by Side Diff: content/ppapi_plugin/ppapi_plugin_main.cc

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/debug/debugger.h" 6 #include "base/debug/debugger.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/threading/platform_thread.h" 8 #include "base/threading/platform_thread.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/child_process.h" 10 #include "content/common/child_process.h"
(...skipping 29 matching lines...) Expand all
40 else 40 else
41 ChildProcess::WaitForDebugger("Ppapi"); 41 ChildProcess::WaitForDebugger("Ppapi");
42 } 42 }
43 43
44 MessageLoop main_message_loop; 44 MessageLoop main_message_loop;
45 base::PlatformThread::SetName("CrPPAPIMain"); 45 base::PlatformThread::SetName("CrPPAPIMain");
46 46
47 ChildProcess ppapi_process; 47 ChildProcess ppapi_process;
48 ppapi_process.set_main_thread(new PpapiThread(false)); // Not a broker. 48 ppapi_process.set_main_thread(new PpapiThread(false)); // Not a broker.
49 49
50 pp::proxy::ProxyModule::GetInstance()->SetFlashCommandLineArgs( 50 ppapi::proxy::ProxyModule::GetInstance()->SetFlashCommandLineArgs(
51 command_line.GetSwitchValueASCII(switches::kPpapiFlashArgs)); 51 command_line.GetSwitchValueASCII(switches::kPpapiFlashArgs));
52 52
53 main_message_loop.Run(); 53 main_message_loop.Run();
54 return 0; 54 return 0;
55 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698