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

Unified Diff: content/browser/browser_child_process_host.h

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
Index: content/browser/browser_child_process_host.h
diff --git a/content/browser/browser_child_process_host.h b/content/browser/browser_child_process_host.h
index 7c48ab716ea9a2354923662b650005f4b22478cb..327ac2ebd066440bc5852e8af83eb9da87473077 100644
--- a/content/browser/browser_child_process_host.h
+++ b/content/browser/browser_child_process_host.h
@@ -12,8 +12,6 @@
#include "content/common/child_process_host.h"
#include "content/common/child_process_info.h"
-class ResourceDispatcherHost;
-
// Plugins/workers and other child processes that live on the IO thread should
// derive from this class.
//
@@ -56,12 +54,6 @@ class BrowserChildProcessHost : public ChildProcessHost,
};
protected:
- // DEPRECATED constructor. Do not use anymore. We are trying to eliminate
- // using the default URLRequestContext.
- BrowserChildProcessHost(
- ChildProcessInfo::ProcessType type,
- ResourceDispatcherHost* resource_dispatcher_host);
-
explicit BrowserChildProcessHost(ChildProcessInfo::ProcessType type);
// Derived classes call this to launch the child process asynchronously.
@@ -107,10 +99,6 @@ class BrowserChildProcessHost : public ChildProcessHost,
// the host list. Calls ChildProcessHost::ForceShutdown
virtual void ForceShutdown();
- ResourceDispatcherHost* resource_dispatcher_host() {
- return resource_dispatcher_host_;
- }
-
private:
// By using an internal class as the ChildProcessLauncher::Client, we can
// intercept OnProcessLaunched and do our own processing before
@@ -123,8 +111,6 @@ class BrowserChildProcessHost : public ChildProcessHost,
BrowserChildProcessHost* host_;
};
ClientHook client_;
- // May be NULL if this current process has no resource dispatcher host.
- ResourceDispatcherHost* resource_dispatcher_host_;
scoped_ptr<ChildProcessLauncher> child_process_;
};
« no previous file with comments | « content/browser/appcache/view_appcache_internals_job_factory.cc ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698