summaryrefslogtreecommitdiffstats
path: root/content/public/renderer/navigation_state.cc
blob: 9208efa3f29b3a83fc41d9fcb805fc856a4298d5 (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
// Copyright (c) 2012 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/public/renderer/navigation_state.h"

namespace content {

NavigationState::NavigationState(content::PageTransition transition_type,
                                 bool is_content_initiated,
                                 int32 pending_page_id,
                                 int pending_history_list_offset)
    : transition_type_(transition_type),
      request_committed_(false),
      is_content_initiated_(is_content_initiated),
      pending_page_id_(pending_page_id),
      pending_history_list_offset_(pending_history_list_offset),
      was_within_same_page_(false),
      transferred_request_child_id_(-1),
      transferred_request_request_id_(-1),
      allow_download_(true) {
}

NavigationState::~NavigationState() {}

}  // namespace content