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

Unified Diff: content/common/child_thread.cc

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros 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/common/child_thread.h ('k') | content/common/child_trace_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_thread.cc
===================================================================
--- content/common/child_thread.cc (revision 163290)
+++ content/common/child_thread.cc (working copy)
@@ -30,9 +30,9 @@
#include "content/common/handle_enumerator_win.h"
#endif
-using content::ResourceDispatcher;
using tracked_objects::ThreadData;
+namespace content {
namespace {
// How long to wait for a connection to the browser process before giving up.
@@ -111,7 +111,7 @@
sync_message_filter_ =
new IPC::SyncMessageFilter(ChildProcess::current()->GetShutDownEvent());
- histogram_message_filter_ = new content::ChildHistogramMessageFilter();
+ histogram_message_filter_ = new ChildHistogramMessageFilter();
channel_->AddFilter(histogram_message_filter_.get());
channel_->AddFilter(sync_message_filter_.get());
@@ -306,8 +306,8 @@
void ChildThread::OnDumpHandles() {
#if defined(OS_WIN)
- scoped_refptr<content::HandleEnumerator> handle_enum(
- new content::HandleEnumerator(
+ scoped_refptr<HandleEnumerator> handle_enum(
+ new HandleEnumerator(
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kAuditAllHandles)));
handle_enum->EnumerateHandles();
@@ -356,3 +356,5 @@
LOG(INFO) << "ChildThread::EnsureConnected()";
base::KillProcess(base::GetCurrentProcessHandle(), 0, false);
}
+
+} // namespace content
« no previous file with comments | « content/common/child_thread.h ('k') | content/common/child_trace_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698