Chromium Code Reviews| Index: ios/web/navigation/crw_session_entry.h |
| diff --git a/ios/web/navigation/crw_session_entry.h b/ios/web/navigation/crw_session_entry.h |
| index 6c5f625d63112fb5b6825ddd8428c9297d8c766e..508780cefa6adb8319e12c6b5914b5b30eb318d2 100644 |
| --- a/ios/web/navigation/crw_session_entry.h |
| +++ b/ios/web/navigation/crw_session_entry.h |
| @@ -17,6 +17,40 @@ namespace web { |
| class NavigationItem; |
| class NavigationItemImpl; |
| struct Referrer; |
| + |
| +// Keys used to serialize web::PageScrollState properties. |
| +extern NSString* const kSessionEntryPageScrollStateKey; |
| +extern NSString* const kSessionEntryScrollOffsetXKey; |
| +extern NSString* const kSessionEntryScrollOffsetYKey; |
| +extern NSString* const kSessionEntryMinimumZoomScaleKey; |
| +extern NSString* const kSessionEntryMaximumZoomScaleKey; |
| +extern NSString* const kSessionEntryZoomScaleKey; |
| + |
| +// Keys used to serialize navigation properties. |
| + |
| +// Current URL (std::string). |
| +extern NSString* const kSessionEntryURLKey; |
| +// Current URL. Deprecated, used for backward compatibility (NSURL). |
| +extern NSString* const kSessionEntryURLDeperecatedKey; |
| +// Page referrer URL (std::string). |
| +extern NSString* const kSessionEntryReferrerURLKey; |
| +// Page referrer URL (NSURL). Deprecated, used for backward compatibility. |
| +extern NSString* const kSessionEntryReferrerURLDeprecatedKey; |
| +// Page referrer policy (int). |
| +extern NSString* const kSessionEntryReferrerPolicyKey; |
| +// The time at which the last known local navigation has completed (Int64). |
|
stuartmorgan
2015/05/10 21:46:16
s/Int/int/
Eugene But (OOO till 7-30)
2015/05/11 16:54:15
Changed to int64_t
|
| +extern NSString* const kSessionEntryTimestampKey; |
| +// Page title (NSString). |
| +extern NSString* const kSessionEntryTitleKey; |
| +// POST request data (NSData). |
| +extern NSString* const kSessionEntryPOSTDataKey; |
| +// HTTP request headers (NSDictionary). |
| +extern NSString* const kSessionEntryHTTPRequestHeadersKey; |
| +// Whether or not to bypass showing the resubmit data confirmation when loading |
| +// a POST request (BOOL). |
| +extern NSString* const kSessionEntrySkipResubmitConfirmationKey; |
| +// Should desktop user agent be used (BOOL)? |
| +extern NSString* const kSessionEntryUseDesktopUserAgentKey; |
| } |
| // A CRWSessionEntry is similar to a NavigationEntry object in desktop Chrome. |