diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-25 18:54:36 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-25 18:54:36 +0000 |
commit | d9c2e51c51468cc6c514294d04314bcafc80f468 (patch) | |
tree | f0acf2c93a84cd98ab96f438da818e0e43e72ae3 /content/browser/browser_main_runner.cc | |
parent | 7a91c555f3e057f8be9010a4e5385678ce822c28 (diff) | |
download | chromium_src-d9c2e51c51468cc6c514294d04314bcafc80f468.zip chromium_src-d9c2e51c51468cc6c514294d04314bcafc80f468.tar.gz chromium_src-d9c2e51c51468cc6c514294d04314bcafc80f468.tar.bz2 |
Revert 164120 - content/browser: Move more files into the content namespace.
Fixed most of the files found with the following command line:
$ git grep --files-without-match --name-only "namespace content {" -- content/browser/{*.cc,*.h.*.mm}
R=jam@chromium.org
Review URL: https://codereview.chromium.org/11274038
TBR=tfarina@chromium.org
Review URL: https://codereview.chromium.org/11273049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_main_runner.cc')
-rw-r--r-- | content/browser/browser_main_runner.cc | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/content/browser/browser_main_runner.cc b/content/browser/browser_main_runner.cc index 3fa9afea..061c7d4 100644 --- a/content/browser/browser_main_runner.cc +++ b/content/browser/browser_main_runner.cc @@ -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 @@ class BrowserMainRunnerImpl : public BrowserMainRunner { Shutdown(); } - virtual int Initialize(const MainFunctionParams& parameters) + virtual int Initialize(const content::MainFunctionParams& parameters) OVERRIDE { is_initialized_ = true; @@ -69,7 +69,7 @@ class BrowserMainRunnerImpl : public BrowserMainRunner { 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 @@ class BrowserMainRunnerImpl : public BrowserMainRunner { #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 @@ class BrowserMainRunnerImpl : public BrowserMainRunner { 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 @@ class BrowserMainRunnerImpl : public BrowserMainRunner { } // namespace +namespace content { + // static BrowserMainRunner* BrowserMainRunner::Create() { return new BrowserMainRunnerImpl(); |