summaryrefslogtreecommitdiffstats
path: root/content/public/renderer/navigation_state.cc
blob: a1fc18349bd4fc3cac05c723ddd0c04fb89adf39 (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
29
// 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,
                                 bool history_list_was_cleared)
    : 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),
      history_list_was_cleared_(history_list_was_cleared),
      should_replace_current_entry_(false),
      was_within_same_page_(false),
      transferred_request_child_id_(-1),
      transferred_request_request_id_(-1),
      allow_download_(true) {
}

NavigationState::~NavigationState() {}

}  // namespace content