| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/public/browser/resource_dispatcher_host.h" | |
| 6 | |
| 7 #include "base/callback.h" | |
| 8 #include "content/browser/frame_host/render_frame_host_impl.h" | |
| 9 #include "content/browser/loader/resource_dispatcher_host_impl.h" | |
| 10 #include "content/public/browser/browser_thread.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 // static | |
| 15 void ResourceDispatcherHost::BlockRequestsForFrameFromUI( | |
| 16 RenderFrameHost* root_frame_host) { | |
| 17 ResourceDispatcherHostImpl::BlockRequestsForFrameFromUI(root_frame_host); | |
| 18 } | |
| 19 | |
| 20 // static | |
| 21 void ResourceDispatcherHost::ResumeBlockedRequestsForFrameFromUI( | |
| 22 RenderFrameHost* root_frame_host) { | |
| 23 ResourceDispatcherHostImpl::ResumeBlockedRequestsForFrameFromUI( | |
| 24 root_frame_host); | |
| 25 } | |
| 26 | |
| 27 } // namespace content | |
| OLD | NEW |