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

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

Issue 2720983002: Remove windowName from CRWSessionController. (Closed)
Patch Set: Address comments. 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') | ios/web/public/test/web_test_with_web_state.mm » ('j') | 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 5f37736545ebe9b83df80510f2303d2fe96c5f8d..368fbd62b6e02c905bb54ccbedf19890a06de2a8 100644
--- a/ios/web/public/crw_session_storage.mm
+++ b/ios/web/public/crw_session_storage.mm
@@ -19,7 +19,6 @@ NSString* const kItemStoragesKey = @"entries";
NSString* const kLastVisitedTimestampKey = @"lastVisitedTimestamp";
NSString* const kOpenedByDOMKey = @"openedByDOM";
NSString* const kPreviousNavigationIndexKey = @"previousNavigationIndex";
-NSString* const kWindowNameKey = @"windowName";
}
@interface CRWSessionStorage () {
@@ -32,7 +31,6 @@ NSString* const kWindowNameKey = @"windowName";
@implementation CRWSessionStorage
@synthesize openedByDOM = _openedByDOM;
-@synthesize windowName = _windowName;
@synthesize currentNavigationIndex = _currentNavigationIndex;
@synthesize previousNavigationIndex = _previousNavigationIndex;
@synthesize lastVisitedTimestamp = _lastVisitedTimestamp;
@@ -55,7 +53,6 @@ NSString* const kWindowNameKey = @"windowName";
- (instancetype)initWithCoder:(nonnull NSCoder*)decoder {
self = [super init];
if (self) {
- _windowName = [[decoder decodeObjectForKey:kWindowNameKey] copy];
_openedByDOM = [decoder decodeBoolForKey:kOpenedByDOMKey];
_currentNavigationIndex =
[decoder decodeIntForKey:kCurrentNavigationIndexKey];
@@ -82,7 +79,6 @@ NSString* const kWindowNameKey = @"windowName";
- (void)encodeWithCoder:(NSCoder*)coder {
[coder encodeBool:self.openedByDOM forKey:kOpenedByDOMKey];
- [coder encodeObject:self.windowName forKey:kWindowNameKey];
[coder encodeInt:self.currentNavigationIndex
forKey:kCurrentNavigationIndexKey];
[coder encodeInt:self.previousNavigationIndex
« no previous file with comments | « ios/web/public/crw_session_storage.h ('k') | ios/web/public/test/web_test_with_web_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698