| Index: content/browser/frame_host/navigation_entry_impl.h
|
| diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h
|
| index 0528da0db31bda4f4087a3beb3d0f6e105734986..0d7b3eb3faf08062a460d70987926eb6e4cecf03 100644
|
| --- a/content/browser/frame_host/navigation_entry_impl.h
|
| +++ b/content/browser/frame_host/navigation_entry_impl.h
|
| @@ -18,10 +18,8 @@
|
| #include "content/public/common/ssl_status.h"
|
|
|
| namespace content {
|
| -class NavigationControllerImpl;
|
| -struct CommitNavigationParams;
|
| struct CommonNavigationParams;
|
| -struct HistoryNavigationParams;
|
| +struct RequestNavigationParams;
|
| struct StartNavigationParams;
|
|
|
| class CONTENT_EXPORT NavigationEntryImpl
|
| @@ -124,6 +122,17 @@ class CONTENT_EXPORT NavigationEntryImpl
|
| // tab) and one that draws them from a different pool (for use in a new tab).
|
| NavigationEntryImpl* Clone() const;
|
|
|
| + // Helper functions to construct NavigationParameters for a navigation to this
|
| + // NavigationEntry.
|
| + CommonNavigationParams ConstructCommonNavigationParams(
|
| + FrameMsg_Navigate_Type::Value navigation_type) const;
|
| + StartNavigationParams ConstructStartNavigationParams() const;
|
| + RequestNavigationParams ConstructRequestNavigationParams(
|
| + base::TimeTicks navigation_start,
|
| + int pending_offset_to_send,
|
| + int current_offset_to_send,
|
| + int current_length_to_send) const;
|
| +
|
| // Once a navigation entry is committed, we should no longer track several
|
| // pieces of non-persisted state, as documented on the members below.
|
| void ResetForCommit();
|
| @@ -262,14 +271,6 @@ class CONTENT_EXPORT NavigationEntryImpl
|
| // Returns the history URL for a data URL to use in Blink.
|
| GURL GetHistoryURLForDataURL() const;
|
|
|
| - CommonNavigationParams ConstructCommonNavigationParams(
|
| - FrameMsg_Navigate_Type::Value navigation_type) const;
|
| - CommitNavigationParams ConstructCommitNavigationParams(
|
| - base::TimeTicks navigation_start) const;
|
| - HistoryNavigationParams ConstructHistoryNavigationParams(
|
| - NavigationControllerImpl* controller) const;
|
| - StartNavigationParams ConstructStartNavigationParams() const;
|
| -
|
| #if defined(OS_ANDROID)
|
| base::TimeTicks intent_received_timestamp() const {
|
| return intent_received_timestamp_;
|
|
|