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

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

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: nasko nit 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/resource_dispatcher_host.cc
diff --git a/content/public/browser/resource_dispatcher_host.cc b/content/public/browser/resource_dispatcher_host.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3e2050eb8fcdd2b1a6674e311763edbdd98975a0
--- /dev/null
+++ b/content/public/browser/resource_dispatcher_host.cc
@@ -0,0 +1,28 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/public/browser/resource_dispatcher_host.h"
+
+#include "base/callback.h"
+#include "content/browser/frame_host/render_frame_host_impl.h"
+#include "content/browser/loader/global_routing_id.h"
+#include "content/browser/loader/resource_dispatcher_host_impl.h"
+#include "content/public/browser/browser_thread.h"
+
+namespace content {
+
+// static
+void ResourceDispatcherHost::BlockRequestsForFrameFromUI(
+ RenderFrameHost* root_frame_host) {
+ ResourceDispatcherHostImpl::BlockRequestsForFrameFromUI(root_frame_host);
+}
+
+// static
+void ResourceDispatcherHost::ResumeBlockedRequestsForFrameFromUI(
+ RenderFrameHost* root_frame_host) {
+ ResourceDispatcherHostImpl::ResumeBlockedRequestsForFrameFromUI(
+ root_frame_host);
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698