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

Unified Diff: content/renderer/renderer_main.cc

Issue 11232014: Move a bunch of code in content\renderer 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
Index: content/renderer/renderer_main.cc
===================================================================
--- content/renderer/renderer_main.cc (revision 163045)
+++ content/renderer/renderer_main.cc (working copy)
@@ -42,6 +42,8 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
#endif // OS_MACOSX
+namespace content {
+
namespace {
#if defined(OS_MACOSX)
@@ -122,7 +124,7 @@
};
// mainline routine for running as the Renderer process
-int RendererMain(const content::MainFunctionParams& parameters) {
+int RendererMain(const MainFunctionParams& parameters) {
TRACE_EVENT_BEGIN_ETW("RendererMain", 0, "");
const CommandLine& parsed_command_line = parameters.command_line;
@@ -154,7 +156,7 @@
webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager =
webkit::ppapi::PpapiInterfaceFactoryManager::GetInstance();
- content::GetContentClient()->renderer()->RegisterPPAPIInterfaceFactories(
+ GetContentClient()->renderer()->RegisterPPAPIInterfaceFactories(
factory_manager);
base::StatsCounterTimer stats_counter_timer("Content.RendererInit");
@@ -224,7 +226,7 @@
RenderProcessImpl render_process;
new RenderThreadImpl();
#endif
- new content::BrowserPluginManagerImpl();
+ new BrowserPluginManagerImpl();
platform.RunSandboxTests();
@@ -244,3 +246,5 @@
TRACE_EVENT_END_ETW("RendererMain", 0, "");
return 0;
}
+
+} // namespace content
« no previous file with comments | « content/renderer/renderer_clipboard_client.cc ('k') | content/renderer/renderer_webapplicationcachehost_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698