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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 8770027: Get rid of the ChildProcessInfo class. It was carrying unnecessary data, and the fact that some p... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
Index: content/browser/renderer_host/render_process_host_impl.cc
===================================================================
--- content/browser/renderer_host/render_process_host_impl.cc (revision 112500)
+++ content/browser/renderer_host/render_process_host_impl.cc (working copy)
@@ -76,7 +76,7 @@
#include "content/browser/user_metrics.h"
#include "content/browser/webui/web_ui_factory.h"
#include "content/browser/worker_host/worker_message_filter.h"
-#include "content/common/child_process_info.h"
+#include "content/common/child_process_host.h"
#include "content/common/child_process_messages.h"
#include "content/common/gpu/gpu_messages.h"
#include "content/public/browser/notification_service.h"
@@ -281,7 +281,7 @@
this, &RenderProcessHostImpl::ClearTransportDIBCache)),
accessibility_enabled_(false),
is_initialized_(false),
- id_(ChildProcessInfo::GenerateChildProcessUniqueId()),
+ id_(ChildProcessHost::GenerateChildProcessUniqueId()),
browser_context_(browser_context),
sudden_termination_allowed_(true),
ignore_input_events_(false) {
@@ -385,7 +385,7 @@
// Setup the IPC channel.
const std::string channel_id =
- ChildProcessInfo::GenerateRandomChannelID(this);
+ ChildProcessHost::GenerateRandomChannelID(this);
channel_.reset(new IPC::ChannelProxy(
channel_id, IPC::Channel::MODE_SERVER, this,
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)));
« no previous file with comments | « content/browser/renderer_host/mock_render_process_host.cc ('k') | content/browser/renderer_host/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698