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

Unified Diff: ios/web/public/crw_session_storage.mm

Issue 2693523003: Moved TabID implementation to SerializableUserData. (Closed)
Patch Set: fix compile Created 3 years, 10 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
« no previous file with comments | « ios/web/public/crw_session_storage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/crw_session_storage.mm
diff --git a/ios/web/public/crw_session_storage.mm b/ios/web/public/crw_session_storage.mm
index c10d885cabc8a8a8c5234a4f5960c44bdea8e02b..7f0c7e47dc180d13578656c15e6df269eb7338a7 100644
--- a/ios/web/public/crw_session_storage.mm
+++ b/ios/web/public/crw_session_storage.mm
@@ -21,7 +21,6 @@
NSString* const kOpenedByDOMKey = @"openedByDOM";
NSString* const kOpenerNavigationIndexKey = @"openerNavigationIndex";
NSString* const kPreviousNavigationIndexKey = @"previousNavigationIndex";
-NSString* const kTabIDKey = @"tabId";
NSString* const kWindowNameKey = @"windowName";
}
@@ -34,7 +33,6 @@ @interface CRWSessionStorage () {
@implementation CRWSessionStorage
-@synthesize tabID = _tabID;
@synthesize openerID = _openerID;
@synthesize openedByDOM = _openedByDOM;
@synthesize openerNavigationIndex = _openerNavigationIndex;
@@ -61,7 +59,6 @@ - (void)setSerializableUserData:
- (instancetype)initWithCoder:(nonnull NSCoder*)decoder {
self = [super init];
if (self) {
- _tabID = [[decoder decodeObjectForKey:kTabIDKey] copy];
_windowName = [[decoder decodeObjectForKey:kWindowNameKey] copy];
_openerID = [[decoder decodeObjectForKey:kOpenerIDKey] copy];
_openedByDOM = [decoder decodeBoolForKey:kOpenedByDOMKey];
@@ -91,7 +88,6 @@ - (instancetype)initWithCoder:(nonnull NSCoder*)decoder {
}
- (void)encodeWithCoder:(NSCoder*)coder {
- [coder encodeObject:self.tabID forKey:kTabIDKey];
[coder encodeObject:self.openerID forKey:kOpenerIDKey];
[coder encodeBool:self.openedByDOM forKey:kOpenedByDOMKey];
[coder encodeInt:self.openerNavigationIndex forKey:kOpenerNavigationIndexKey];
« no previous file with comments | « ios/web/public/crw_session_storage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698