Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / public / renderer / navigation_state.cc
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 "content/public/renderer/navigation_state.h"
6
7 namespace content {
8
9 NavigationState::NavigationState(ui::PageTransition transition_type,
10                                  bool is_content_initiated,
11                                  int32 pending_page_id,
12                                  int pending_history_list_offset,
13                                  bool history_list_was_cleared)
14     : transition_type_(transition_type),
15       request_committed_(false),
16       is_content_initiated_(is_content_initiated),
17       pending_page_id_(pending_page_id),
18       pending_history_list_offset_(pending_history_list_offset),
19       history_list_was_cleared_(history_list_was_cleared),
20       should_replace_current_entry_(false),
21       was_within_same_page_(false),
22       transferred_request_child_id_(-1),
23       transferred_request_request_id_(-1),
24       allow_download_(true) {
25 }
26
27 NavigationState::~NavigationState() {}
28
29 }  // namespace content