Chromium Code Reviews| Index: content/browser/renderer_host/resource_dispatcher_host_delegate.h |
| =================================================================== |
| --- content/browser/renderer_host/resource_dispatcher_host_delegate.h (revision 91583) |
| +++ content/browser/renderer_host/resource_dispatcher_host_delegate.h (working copy) |
| @@ -42,17 +42,21 @@ |
| // content layer have been added. To add new handlers to the front, return |
| // a new handler that is chained to the given one, otherwise just reutrn the |
| // given handler. |
| - virtual ResourceHandler* RequestBeginning(ResourceHandler* handler, |
| - net::URLRequest* request, |
| - bool is_subresource, |
| - int child_id, |
| - int route_id); |
| + virtual ResourceHandler* RequestBeginning( |
| + ResourceHandler* handler, |
| + net::URLRequest* request, |
| + bool safe_browsing_enabled, |
|
jam
2011/07/07 14:35:18
This is a layering violation since an interface in
Miranda Callahan
2011/07/07 17:35:50
Done.
|
| + bool is_subresource, |
| + int child_id, |
| + int route_id); |
| // Called when a download is starting, after the resource handles from the |
| // content layer have been added. |
| - virtual ResourceHandler* DownloadStarting(ResourceHandler* handler, |
| - int child_id, |
| - int route_id); |
| + virtual ResourceHandler* DownloadStarting( |
| + ResourceHandler* handler, |
| + bool safe_browsing_enabled, |
| + int child_id, |
| + int route_id); |
| // Called to determine whether a request's start should be deferred. This |
| // is only called if the ResourceHandler associated with the request does |