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/common/request_extra_data.h" | 5 #include "content/common/request_extra_data.h" |
6 | 6 |
7 using WebKit::WebReferrerPolicy; | 7 using WebKit::WebReferrerPolicy; |
8 using WebKit::WebString; | 8 using WebKit::WebString; |
9 | 9 |
| 10 namespace content { |
| 11 |
10 RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy, | 12 RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy, |
11 const WebString& custom_user_agent, | 13 const WebString& custom_user_agent, |
12 bool is_main_frame, | 14 bool is_main_frame, |
13 int64 frame_id, | 15 int64 frame_id, |
14 bool parent_is_main_frame, | 16 bool parent_is_main_frame, |
15 int64 parent_frame_id, | 17 int64 parent_frame_id, |
16 bool allow_download, | 18 bool allow_download, |
17 content::PageTransition transition_type, | 19 PageTransition transition_type, |
18 int transferred_request_child_id, | 20 int transferred_request_child_id, |
19 int transferred_request_request_id) | 21 int transferred_request_request_id) |
20 : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy, | 22 : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy, |
21 custom_user_agent), | 23 custom_user_agent), |
22 is_main_frame_(is_main_frame), | 24 is_main_frame_(is_main_frame), |
23 frame_id_(frame_id), | 25 frame_id_(frame_id), |
24 parent_is_main_frame_(parent_is_main_frame), | 26 parent_is_main_frame_(parent_is_main_frame), |
25 parent_frame_id_(parent_frame_id), | 27 parent_frame_id_(parent_frame_id), |
26 allow_download_(allow_download), | 28 allow_download_(allow_download), |
27 transition_type_(transition_type), | 29 transition_type_(transition_type), |
28 transferred_request_child_id_(transferred_request_child_id), | 30 transferred_request_child_id_(transferred_request_child_id), |
29 transferred_request_request_id_(transferred_request_request_id) { | 31 transferred_request_request_id_(transferred_request_request_id) { |
30 } | 32 } |
31 | 33 |
32 RequestExtraData::~RequestExtraData() { | 34 RequestExtraData::~RequestExtraData() { |
33 } | 35 } |
| 36 |
| 37 } // namespace content |
OLD | NEW |