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

Unified Diff: content/browser/utility_process_host_impl.cc

Issue 11235068: Move the remaning files in content\common to the content namespace. (Closed) Base URL: svn://chrome-svn/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/utility_process_host_impl.h ('k') | content/browser/worker_host/worker_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host_impl.cc
===================================================================
--- content/browser/utility_process_host_impl.cc (revision 163632)
+++ content/browser/utility_process_host_impl.cc (working copy)
@@ -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 @@
return new UtilityProcessHostImpl(client, client_thread_id);
}
-} // namespace content
-
UtilityProcessHostImpl::UtilityProcessHostImpl(
UtilityProcessHostClient* client,
BrowserThread::ID client_thread_id)
@@ -47,8 +41,7 @@
#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 @@
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 @@
base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(),
exit_code));
}
+
+} // namespace content
« no previous file with comments | « content/browser/utility_process_host_impl.h ('k') | content/browser/worker_host/worker_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698