diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-24 00:26:19 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-24 00:26:19 +0000 |
commit | 130757671de6d0dc4b54dd3ef11c1b9eb5f039cc (patch) | |
tree | 0c92593a755e31425f69d8c3c345fff10287c4ce /content/browser/utility_process_host_impl.cc | |
parent | 375abf5c85ab185e3d659cde1e585aff2f8e6b3a (diff) | |
download | chromium_src-130757671de6d0dc4b54dd3ef11c1b9eb5f039cc.zip chromium_src-130757671de6d0dc4b54dd3ef11c1b9eb5f039cc.tar.gz chromium_src-130757671de6d0dc4b54dd3ef11c1b9eb5f039cc.tar.bz2 |
Move the remaning files in content\common to the content namespace.
Review URL: https://codereview.chromium.org/11235068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/utility_process_host_impl.cc')
-rw-r--r-- | content/browser/utility_process_host_impl.cc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc index 82c3c53..5707aad 100644 --- a/content/browser/utility_process_host_impl.cc +++ b/content/browser/utility_process_host_impl.cc @@ -19,10 +19,6 @@ #include "ui/base/ui_base_switches.h" #include "webkit/plugins/plugin_switches.h" -using content::BrowserThread; -using content::ChildProcessHost; -using content::UtilityProcessHostClient; - namespace content { UtilityProcessHost* UtilityProcessHost::Create( @@ -31,8 +27,6 @@ UtilityProcessHost* UtilityProcessHost::Create( return new UtilityProcessHostImpl(client, client_thread_id); } -} // namespace content - UtilityProcessHostImpl::UtilityProcessHostImpl( UtilityProcessHostClient* client, BrowserThread::ID client_thread_id) @@ -47,8 +41,7 @@ UtilityProcessHostImpl::UtilityProcessHostImpl( #endif use_linux_zygote_(false), started_(false) { - process_.reset( - new BrowserChildProcessHostImpl(content::PROCESS_TYPE_UTILITY, this)); + process_.reset(new BrowserChildProcessHostImpl(PROCESS_TYPE_UTILITY, this)); } UtilityProcessHostImpl::~UtilityProcessHostImpl() { @@ -137,8 +130,7 @@ bool UtilityProcessHostImpl::StartProcess() { cmd_line->AppendSwitchASCII(switches::kProcessType, switches::kUtilityProcess); cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); - std::string locale = - content::GetContentClient()->browser()->GetApplicationLocale(); + std::string locale = GetContentClient()->browser()->GetApplicationLocale(); cmd_line->AppendSwitchASCII(switches::kLang, locale); if (browser_command_line.HasSwitch(switches::kChromeFrame)) @@ -198,3 +190,5 @@ void UtilityProcessHostImpl::OnProcessCrashed(int exit_code) { base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(), exit_code)); } + +} // namespace content |