• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "webkit/child/weburlrequest_extradata_impl.h"
6 
7 using blink::WebReferrerPolicy;
8 using blink::WebString;
9 
10 namespace webkit_glue {
11 
WebURLRequestExtraDataImpl(WebReferrerPolicy referrer_policy,const WebString & custom_user_agent,bool was_after_preconnect_request)12 WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl(
13     WebReferrerPolicy referrer_policy,
14     const WebString& custom_user_agent,
15     bool was_after_preconnect_request)
16     : referrer_policy_(referrer_policy),
17       custom_user_agent_(custom_user_agent),
18       was_after_preconnect_request_(was_after_preconnect_request) {
19 }
20 
~WebURLRequestExtraDataImpl()21 WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() {
22 }
23 
24 }  // namespace webkit_glue
25