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

Unified Diff: content/public/browser/resource_dispatcher_host.h

Issue 2758993002: Move the functions which block, resume and cancel requests for a frame route id out of ResourceDisp… (Closed)
Patch Set: Rebased to tip Created 3 years, 9 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/public/browser/render_frame_host.h ('k') | content/public/browser/resource_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/resource_dispatcher_host.h
diff --git a/content/public/browser/resource_dispatcher_host.h b/content/public/browser/resource_dispatcher_host.h
index a3761fbd0efa8e118f2f149b79c151434cf67b2a..c5fe07edb8611d460c8f9542069eb84e63cd14b7 100644
--- a/content/public/browser/resource_dispatcher_host.h
+++ b/content/public/browser/resource_dispatcher_host.h
@@ -21,7 +21,6 @@ namespace content {
class ResourceContext;
class ResourceDispatcherHostDelegate;
-class RenderFrameHost;
// This callback is invoked when the interceptor finishes processing the
// header.
@@ -49,16 +48,6 @@ class CONTENT_EXPORT ResourceDispatcherHost {
// Returns the singleton instance of the ResourceDispatcherHost.
static ResourceDispatcherHost* Get();
- // Causes all new requests for the root RenderFrameHost and its children to be
- // blocked (not being started) until ResumeBlockedRequestsForFrameFromUI is
- // called.
- static void BlockRequestsForFrameFromUI(RenderFrameHost* root_frame_host);
-
- // Resumes any blocked request for the specified root RenderFrameHost and
- // child frame hosts.
- static void ResumeBlockedRequestsForFrameFromUI(
- RenderFrameHost* root_frame_host);
-
// This does not take ownership of the delegate. It is expected that the
// delegate have a longer lifetime than the ResourceDispatcherHost.
virtual void SetDelegate(ResourceDispatcherHostDelegate* delegate) = 0;
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/public/browser/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698