| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_WEB_PUBLIC_CRW_NAVIGATION_MANAGER_STORAGE_H_ | |
| 6 #define IOS_WEB_PUBLIC_CRW_NAVIGATION_MANAGER_STORAGE_H_ | |
| 7 | |
| 8 #import <Foundation/Foundation.h> | |
| 9 | |
| 10 @class CRWSessionCertificatePolicyManager; | |
| 11 | |
| 12 // NSCoding-compliant class used to serialize NavigationManager's persisted | |
| 13 // properties. | |
| 14 // TODO(crbug.com/685388): Investigate using code from the sessions component. | |
| 15 @interface CRWNavigationManagerStorage : NSObject<NSCoding> | |
| 16 | |
| 17 @property(nonatomic, copy) NSString* tabID; | |
| 18 @property(nonatomic, copy) NSString* openerID; | |
| 19 @property(nonatomic, getter=isOpenedByDOM) BOOL openedByDOM; | |
| 20 @property(nonatomic, assign) NSInteger openerNavigationIndex; | |
| 21 @property(nonatomic, copy) NSString* windowName; | |
| 22 @property(nonatomic, assign) NSInteger currentNavigationIndex; | |
| 23 @property(nonatomic, assign) NSInteger previousNavigationIndex; | |
| 24 @property(nonatomic, assign) NSTimeInterval lastVisitedTimestamp; | |
| 25 @property(nonatomic, copy) NSArray* itemStorages; | |
| 26 @property(nonatomic, retain) | |
| 27 CRWSessionCertificatePolicyManager* sessionCertificatePolicyManager; | |
| 28 | |
| 29 @end | |
| 30 | |
| 31 #endif // IOS_WEB_PUBLIC_CRW_NAVIGATION_MANAGER_STORAGE_H_ | |
| OLD | NEW |