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

Unified Diff: content/browser/browser_child_process_host.cc

Issue 6825038: Create a content::ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test. Created 9 years, 8 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/browser_child_process_host.h ('k') | content/browser/mock_resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host.cc
diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc
index 1976662d9f7320dbac98135abe283e204f0f20c0..43759e1cb0997db3bb38fa7393463f2306783f55 100644
--- a/content/browser/browser_child_process_host.cc
+++ b/content/browser/browser_child_process_host.cc
@@ -59,29 +59,10 @@ class ChildNotificationTask : public Task {
} // namespace
-// DEPRECATED constructor. Do not use anymore.
-BrowserChildProcessHost::BrowserChildProcessHost(
- ChildProcessInfo::ProcessType type,
- ResourceDispatcherHost* resource_dispatcher_host)
- : ChildProcessInfo(type, -1),
- ALLOW_THIS_IN_INITIALIZER_LIST(client_(this)),
- resource_dispatcher_host_(resource_dispatcher_host) {
- if (resource_dispatcher_host_) {
- ResourceMessageFilter* resource_message_filter = new ResourceMessageFilter(
- id(), type, resource_dispatcher_host_);
- AddFilter(resource_message_filter);
- }
-
- AddFilter(new TraceMessageFilter);
-
- g_child_process_list.Get().push_back(this);
-}
-
BrowserChildProcessHost::BrowserChildProcessHost(
ChildProcessInfo::ProcessType type)
: ChildProcessInfo(type, -1),
- ALLOW_THIS_IN_INITIALIZER_LIST(client_(this)),
- resource_dispatcher_host_(NULL) {
+ ALLOW_THIS_IN_INITIALIZER_LIST(client_(this)) {
AddFilter(new TraceMessageFilter);
g_child_process_list.Get().push_back(this);
« no previous file with comments | « content/browser/browser_child_process_host.h ('k') | content/browser/mock_resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698