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

Unified Diff: content/utility/utility_thread_impl.cc

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories 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
« no previous file with comments | « content/utility/utility_thread_impl.h ('k') | content/worker/shared_worker_devtools_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_thread_impl.cc
===================================================================
--- content/utility/utility_thread_impl.cc (revision 163080)
+++ content/utility/utility_thread_impl.cc (working copy)
@@ -24,6 +24,8 @@
#include "ui/gfx/gtk_util.h"
#endif
+namespace content {
+
namespace {
template<typename SRC, typename DEST>
@@ -38,9 +40,9 @@
UtilityThreadImpl::UtilityThreadImpl()
: batch_mode_(false) {
ChildProcess::current()->AddRefProcess();
- webkit_platform_support_.reset(new content::WebKitPlatformSupportImpl);
+ webkit_platform_support_.reset(new WebKitPlatformSupportImpl);
WebKit::initialize(webkit_platform_support_.get());
- content::GetContentClient()->utility()->UtilityThreadStarted();
+ GetContentClient()->utility()->UtilityThreadStarted();
}
UtilityThreadImpl::~UtilityThreadImpl() {
@@ -70,7 +72,7 @@
bool UtilityThreadImpl::OnControlMessageReceived(const IPC::Message& msg) {
- if (content::GetContentClient()->utility()->OnMessageReceived(msg))
+ if (GetContentClient()->utility()->OnMessageReceived(msg))
return true;
bool handled = true;
@@ -128,3 +130,5 @@
ReleaseProcessIfNeeded();
}
#endif
+
+} // namespace content
« no previous file with comments | « content/utility/utility_thread_impl.h ('k') | content/worker/shared_worker_devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698