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

Side by Side Diff: content/public/browser/resource_dispatcher_host.h

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just comments / minor restructuring (trybots previous) Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/download_interrupt_reasons.h" 10 #include "content/public/browser/download_interrupt_reasons.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 scoped_ptr<DownloadSaveInfo> save_info, 60 scoped_ptr<DownloadSaveInfo> save_info,
61 uint32 download_id, 61 uint32 download_id,
62 const DownloadStartedCallback& started_callback) = 0; 62 const DownloadStartedCallback& started_callback) = 0;
63 63
64 // Clears the ResourceDispatcherHostLoginDelegate associated with the request. 64 // Clears the ResourceDispatcherHostLoginDelegate associated with the request.
65 virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0; 65 virtual void ClearLoginDelegateForRequest(net::URLRequest* request) = 0;
66 66
67 // Causes all new requests for the route identified by |child_id| and 67 // Causes all new requests for the route identified by |child_id| and
68 // |route_id| to be blocked (not being started) until 68 // |route_id| to be blocked (not being started) until
69 // ResumeBlockedRequestsForRoute is called. 69 // ResumeBlockedRequestsForRoute is called.
70 virtual void BlockRequestsForRoute(int child_id, int route_id) = 0; 70 virtual void BlockRequestsForFrame(int child_id, int route_id) = 0;
71 71
72 // Resumes any blocked request for the specified route id. 72 // Resumes any blocked request for the specified route id.
73 virtual void ResumeBlockedRequestsForRoute(int child_id, int route_id) = 0; 73 virtual void ResumeBlockedRequestsForFrame(int child_id, int route_id) = 0;
74 74
75 protected: 75 protected:
76 virtual ~ResourceDispatcherHost() {} 76 virtual ~ResourceDispatcherHost() {}
77 }; 77 };
78 78
79 } // namespace content 79 } // namespace content
80 80
81 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_ 81 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698