Index: content/common/navigation_params.cc |
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc |
index 3213337f73fa563de524f0ee15d11f619dc800bd..1c9da096a042b0d07155bb37a9e78b35fa41e735 100644 |
--- a/content/common/navigation_params.cc |
+++ b/content/common/navigation_params.cc |
@@ -58,14 +58,38 @@ CommitNavigationParams::CommitNavigationParams() |
: is_overriding_user_agent(false) { |
} |
-CommitNavigationParams::CommitNavigationParams(const PageState& page_state, |
- bool is_overriding_user_agent, |
+CommitNavigationParams::CommitNavigationParams(bool is_overriding_user_agent, |
base::TimeTicks navigation_start) |
- : page_state(page_state), |
- is_overriding_user_agent(is_overriding_user_agent), |
+ : is_overriding_user_agent(is_overriding_user_agent), |
browser_navigation_start(navigation_start) { |
} |
CommitNavigationParams::~CommitNavigationParams() {} |
+HistoryNavigationParams::HistoryNavigationParams() |
+ : page_id(-1), |
+ pending_history_list_offset(-1), |
+ current_history_list_offset(-1), |
+ current_history_list_length(-1), |
+ should_clear_history_list(false) { |
+} |
+ |
+HistoryNavigationParams::HistoryNavigationParams( |
+ const PageState& page_state, |
+ int32 page_id, |
+ int pending_history_list_offset, |
+ int current_history_list_offset, |
+ int current_history_list_length, |
+ bool should_clear_history_list) |
+ : page_state(page_state), |
+ page_id(page_id), |
+ pending_history_list_offset(pending_history_list_offset), |
+ current_history_list_offset(current_history_list_offset), |
+ current_history_list_length(current_history_list_length), |
+ should_clear_history_list(should_clear_history_list) { |
+} |
+ |
+HistoryNavigationParams::~HistoryNavigationParams() { |
+} |
+ |
} // namespace content |