Home | History | Annotate | Download | only in renderer
      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(content::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       was_within_same_page_(false),
     21       transferred_request_child_id_(-1),
     22       transferred_request_request_id_(-1),
     23       allow_download_(true) {
     24 }
     25 
     26 NavigationState::~NavigationState() {}
     27 
     28 }  // namespace content
     29