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

Unified Diff: content/browser/loader/global_routing_id.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 5 years 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/browser/loader/global_routing_id.h
diff --git a/content/browser/loader/global_routing_id.h b/content/browser/loader/global_routing_id.h
index df5f202c22e568612508915e54f9fa4d753d83a9..9e6f9e9ebab4e36f37da8ecf0cdbd6070b468083 100644
--- a/content/browser/loader/global_routing_id.h
+++ b/content/browser/loader/global_routing_id.h
@@ -38,6 +38,13 @@ struct GlobalRoutingID {
}
};
+// Same as GlobalRoutingID except the route_id must be a render frame routing
+// id.
+struct GlobalFrameRoutingID : public GlobalRoutingID {
+ GlobalFrameRoutingID(int child_id, int render_frame_route_id)
+ : GlobalRoutingID(child_id, render_frame_route_id) {}
Randy Smith (Not in Mondays) 2015/12/29 23:11:36 Any way to assert that? Don't we know something a
Charlie Harrison 2015/12/30 20:51:49 Hm I'm not quite sure. There was discussion on the
Randy Smith (Not in Mondays) 2016/01/04 21:24:48 Drat; I thought I remembered someone telling me th
Charlie Harrison 2016/01/04 22:07:43 I think this was done as a local hack a few times,
+};
+
} // namespace content
#endif // CONTENT_BROWSER_LOADER_GLOBAL_ROUTING_ID_H_

Powered by Google App Engine
This is Rietveld 408576698