OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/child/request_extra_data.h" | 5 #include "content/child/request_extra_data.h" |
6 | 6 |
7 using WebKit::WebReferrerPolicy; | 7 using WebKit::WebReferrerPolicy; |
8 using WebKit::WebSecurityOrigin; | |
darin (slow to review)
2013/08/20 23:47:05
nit: not needed
dsjang
2013/08/21 18:49:57
Done.
| |
8 using WebKit::WebString; | 9 using WebKit::WebString; |
9 | 10 |
10 namespace content { | 11 namespace content { |
11 | 12 |
12 RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy, | 13 RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy, |
13 const WebString& custom_user_agent, | 14 const WebString& custom_user_agent, |
14 bool was_after_preconnect_request, | 15 bool was_after_preconnect_request, |
15 bool is_main_frame, | 16 bool is_main_frame, |
16 int64 frame_id, | 17 int64 frame_id, |
18 const GURL& frame_origin, | |
17 bool parent_is_main_frame, | 19 bool parent_is_main_frame, |
18 int64 parent_frame_id, | 20 int64 parent_frame_id, |
19 bool allow_download, | 21 bool allow_download, |
20 PageTransition transition_type, | 22 PageTransition transition_type, |
21 int transferred_request_child_id, | 23 int transferred_request_child_id, |
22 int transferred_request_request_id) | 24 int transferred_request_request_id) |
23 : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy, | 25 : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy, |
24 custom_user_agent, | 26 custom_user_agent, |
25 was_after_preconnect_request), | 27 was_after_preconnect_request), |
26 is_main_frame_(is_main_frame), | 28 is_main_frame_(is_main_frame), |
27 frame_id_(frame_id), | 29 frame_id_(frame_id), |
30 frame_origin_(frame_origin), | |
28 parent_is_main_frame_(parent_is_main_frame), | 31 parent_is_main_frame_(parent_is_main_frame), |
29 parent_frame_id_(parent_frame_id), | 32 parent_frame_id_(parent_frame_id), |
30 allow_download_(allow_download), | 33 allow_download_(allow_download), |
31 transition_type_(transition_type), | 34 transition_type_(transition_type), |
32 transferred_request_child_id_(transferred_request_child_id), | 35 transferred_request_child_id_(transferred_request_child_id), |
33 transferred_request_request_id_(transferred_request_request_id) { | 36 transferred_request_request_id_(transferred_request_request_id) { |
34 } | 37 } |
35 | 38 |
36 RequestExtraData::~RequestExtraData() { | 39 RequestExtraData::~RequestExtraData() { |
37 } | 40 } |
38 | 41 |
39 } // namespace content | 42 } // namespace content |
OLD | NEW |