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

Unified Diff: content/browser/browser_main_runner.cc

Issue 11273049: Revert 164120 - content/browser: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/browser/browser_main_loop.h ('k') | content/browser/browser_url_handler_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_runner.cc
===================================================================
--- content/browser/browser_main_runner.cc (revision 164121)
+++ content/browser/browser_main_runner.cc (working copy)
@@ -29,11 +29,11 @@
bool g_exited_main_message_loop = false;
-namespace content {
+using content::ChildProcess;
namespace {
-class BrowserMainRunnerImpl : public BrowserMainRunner {
+class BrowserMainRunnerImpl : public content::BrowserMainRunner {
public:
BrowserMainRunnerImpl()
: is_initialized_(false),
@@ -46,7 +46,7 @@
Shutdown();
}
- virtual int Initialize(const MainFunctionParams& parameters)
+ virtual int Initialize(const content::MainFunctionParams& parameters)
OVERRIDE {
is_initialized_ = true;
@@ -69,7 +69,7 @@
notification_service_.reset(new NotificationServiceImpl);
- main_loop_.reset(new BrowserMainLoop(parameters));
+ main_loop_.reset(new content::BrowserMainLoop(parameters));
main_loop_->Init();
@@ -98,8 +98,8 @@
#endif // OS_WIN
#if defined(OS_ANDROID)
- SurfaceTexturePeer::InitInstance(
- new SurfaceTexturePeerBrowserImpl(
+ content::SurfaceTexturePeer::InitInstance(
+ new content::SurfaceTexturePeerBrowserImpl(
parameters.command_line.HasSwitch(
switches::kMediaPlayerInRenderProcess)));
#endif
@@ -153,7 +153,7 @@
bool created_threads_;
scoped_ptr<NotificationServiceImpl> notification_service_;
- scoped_ptr<BrowserMainLoop> main_loop_;
+ scoped_ptr<content::BrowserMainLoop> main_loop_;
#if defined(OS_WIN)
scoped_ptr<ui::ScopedOleInitializer> ole_initializer_;
#endif
@@ -163,6 +163,8 @@
} // namespace
+namespace content {
+
// static
BrowserMainRunner* BrowserMainRunner::Create() {
return new BrowserMainRunnerImpl();
« no previous file with comments | « content/browser/browser_main_loop.h ('k') | content/browser/browser_url_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698