Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Unified Diff: ios/web/navigation/crw_session_entry.h

Issue 2664113003: Moved serialization out of CRWSessionEntry. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 417cebe946f73c347822ce1b9f82c68dfe014097..1251d34f6596908d886a79dac06838fb39ea06cd 100644
--- a/ios/web/navigation/crw_session_entry.h
+++ b/ios/web/navigation/crw_session_entry.h
@@ -18,40 +18,6 @@
namespace web {
class NavigationItem;
class NavigationItemImpl;
-
-// 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_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 kSessionEntrySkipRepostFormConfirmationKey;
-// Should desktop user agent be used (BOOL)?
-extern NSString* const kSessionEntryUseDesktopUserAgentKey;
}
// A CRWSessionEntry is similar to a NavigationEntry object in desktop Chrome.
@@ -61,7 +27,7 @@ extern NSString* const kSessionEntryUseDesktopUserAgentKey;
// DEPRECATED, do not use this class and do not add any methods to it.
// Use web::NavigationItem instead.
// TODO(crbug.com/454984): Remove this class.
-@interface CRWSessionEntry : NSObject<NSCoding, NSCopying>
+@interface CRWSessionEntry : NSObject<NSCopying>
// Pointer to the NavigationItem associated with this CRWSessionEntry.
// Eventually, this will replace CRWSessionEntry entirely.

Powered by Google App Engine
This is Rietveld 408576698