1 // Copyright 2015 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.
5 #include "content/browser/frame_host/frame_navigation_entry.h"
9 FrameNavigationEntry::FrameNavigationEntry() {
12 FrameNavigationEntry::FrameNavigationEntry(SiteInstanceImpl
* site_instance
,
14 const Referrer
& referrer
)
15 : site_instance_(site_instance
), url_(url
), referrer_(referrer
) {
18 FrameNavigationEntry::~FrameNavigationEntry() {
21 FrameNavigationEntry
* FrameNavigationEntry::Clone() const {
22 FrameNavigationEntry
* copy
= new FrameNavigationEntry();
24 copy
->site_instance_
= site_instance_
;
26 copy
->referrer_
= referrer_
;
31 } // namespace content