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

Unified Diff: content/child/request_extra_data.h

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_extra_data.h
===================================================================
--- content/child/request_extra_data.h (revision 238847)
+++ content/child/request_extra_data.h (working copy)
@@ -13,13 +13,14 @@
namespace content {
// The RenderView stores an instance of this class in the "extra data" of each
-// ResourceRequest (see RenderView::willSendRequest).
+// ResourceRequest (see RenderFrameImpl::willSendRequest).
class CONTENT_EXPORT RequestExtraData
: NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) {
public:
RequestExtraData(blink::WebReferrerPolicy referrer_policy,
const blink::WebString& custom_user_agent,
bool was_after_preconnect_request,
+ int render_frame_id,
bool is_main_frame,
int64 frame_id,
const GURL& frame_origin,
@@ -32,6 +33,7 @@
int transferred_request_request_id);
virtual ~RequestExtraData();
+ int render_frame_id() const { return render_frame_id_; }
bool is_main_frame() const { return is_main_frame_; }
int64 frame_id() const { return frame_id_; }
GURL frame_origin() const { return frame_origin_; }
@@ -50,6 +52,7 @@
}
private:
+ int render_frame_id_;
bool is_main_frame_;
int64 frame_id_;
GURL frame_origin_;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698