summaryrefslogtreecommitdiffstats
path: root/content/common/request_extra_data.cc
blob: ab9ee914f3ecfb9474d33768abcbba7b1c02995e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/common/request_extra_data.h"

using WebKit::WebReferrerPolicy;

RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy,
                                   bool is_main_frame,
                                   int64 frame_id,
                                   bool parent_is_main_frame,
                                   int64 parent_frame_id,
                                   content::PageTransition transition_type,
                                   int transferred_request_child_id,
                                   int transferred_request_request_id)
    : webkit_glue::WebURLRequestExtraDataImpl(referrer_policy),
      is_main_frame_(is_main_frame),
      frame_id_(frame_id),
      parent_is_main_frame_(parent_is_main_frame),
      parent_frame_id_(parent_frame_id),
      transition_type_(transition_type),
      transferred_request_child_id_(transferred_request_child_id),
      transferred_request_request_id_(transferred_request_request_id) {
}

RequestExtraData::~RequestExtraData() {
}