| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 FrameNavigationEntry* frame_entry) const; | 158 FrameNavigationEntry* frame_entry) const; |
| 159 | 159 |
| 160 // Helper functions to construct NavigationParameters for a navigation to this | 160 // Helper functions to construct NavigationParameters for a navigation to this |
| 161 // NavigationEntry. | 161 // NavigationEntry. |
| 162 CommonNavigationParams ConstructCommonNavigationParams( | 162 CommonNavigationParams ConstructCommonNavigationParams( |
| 163 const GURL& dest_url, | 163 const GURL& dest_url, |
| 164 const Referrer& dest_referrer, | 164 const Referrer& dest_referrer, |
| 165 FrameMsg_Navigate_Type::Value navigation_type, | 165 FrameMsg_Navigate_Type::Value navigation_type, |
| 166 LoFiState lofi_state, | 166 LoFiState lofi_state, |
| 167 const base::TimeTicks& navigation_start) const; | 167 const base::TimeTicks& navigation_start) const; |
| 168 StartNavigationParams ConstructStartNavigationParams() const; | 168 StartNavigationParams ConstructStartNavigationParams( |
| 169 const NavigationHandleImpl& navigation_handle) const; |
| 169 RequestNavigationParams ConstructRequestNavigationParams( | 170 RequestNavigationParams ConstructRequestNavigationParams( |
| 170 const FrameNavigationEntry& frame_entry, | 171 const FrameNavigationEntry& frame_entry, |
| 171 bool is_same_document_history_load, | 172 bool is_same_document_history_load, |
| 172 bool has_committed_real_load, | 173 bool has_committed_real_load, |
| 173 bool intended_as_new_entry, | 174 bool intended_as_new_entry, |
| 174 int pending_offset_to_send, | 175 int pending_offset_to_send, |
| 175 int current_offset_to_send, | 176 int current_offset_to_send, |
| 176 int current_length_to_send) const; | 177 int current_length_to_send) const; |
| 177 | 178 |
| 178 // Once a navigation entry is committed, we should no longer track several | 179 // Once a navigation entry is committed, we should no longer track several |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // persisted, unless specific data is taken out/put back in at save/restore | 503 // persisted, unless specific data is taken out/put back in at save/restore |
| 503 // time (see TabNavigation for an example of this). | 504 // time (see TabNavigation for an example of this). |
| 504 std::map<std::string, base::string16> extra_data_; | 505 std::map<std::string, base::string16> extra_data_; |
| 505 | 506 |
| 506 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); | 507 DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); |
| 507 }; | 508 }; |
| 508 | 509 |
| 509 } // namespace content | 510 } // namespace content |
| 510 | 511 |
| 511 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ | 512 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_ENTRY_IMPL_H_ |
| OLD | NEW |