OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/glue/weburlrequest_extradata_impl.h" | 5 #include "webkit/glue/weburlrequest_extradata_impl.h" |
6 | 6 |
7 using WebKit::WebReferrerPolicy; | 7 using WebKit::WebReferrerPolicy; |
| 8 using WebKit::WebString; |
8 | 9 |
9 namespace webkit_glue { | 10 namespace webkit_glue { |
10 | 11 |
11 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl( | 12 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl( |
12 WebReferrerPolicy referrer_policy) | 13 WebReferrerPolicy referrer_policy, |
13 : referrer_policy_(referrer_policy) { | 14 const WebString& custom_user_agent) |
| 15 : referrer_policy_(referrer_policy), |
| 16 custom_user_agent_(custom_user_agent) { |
14 } | 17 } |
15 | 18 |
16 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() { | 19 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() { |
17 } | 20 } |
18 | 21 |
19 } // namespace webkit_glue | 22 } // namespace webkit_glue |
OLD | NEW |