Chromium Code Reviews| 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_SERIALIZATION_H_ | |
| 6 #define IOS_WEB_PUBLIC_CRW_NAVIGATION_MANAGER_SERIALIZATION_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 @interface CRWNavigationManagerSerialization : NSObject<NSCoding> | |
|
Eugene But (OOO till 7-30)
2017/01/25 16:03:38
Is there //content analogue for this public class?
kkhorimoto
2017/01/26 07:19:10
It looks like content uses SessionTab as an analog
| |
| 15 | |
| 16 @property(nonatomic, copy) NSString* tabID; | |
| 17 @property(nonatomic, copy) NSString* openerID; | |
| 18 @property(nonatomic, getter=isOpenedByDOM) BOOL openedByDOM; | |
| 19 @property(nonatomic, assign) NSInteger openerNavigationIndex; | |
| 20 @property(nonatomic, copy) NSString* windowName; | |
| 21 @property(nonatomic, assign) NSInteger currentNavigationIndex; | |
| 22 @property(nonatomic, assign) NSInteger previousNavigationIndex; | |
| 23 @property(nonatomic, assign) NSTimeInterval lastVisitedTimestamp; | |
| 24 // TODO(crbug.com/454984): |entries| currently contains CRWSessionEntries. Once | |
| 25 // NavigationItemImpls are encoded/decoded using CRWNavigationItemSerializations | |
| 26 // (analogous to the approach taken with NavigationManager), this will | |
| 27 // become an array of CRWNavigationItemSerializations. | |
| 28 @property(nonatomic, copy) NSArray* entries; | |
| 29 @property(nonatomic, retain) | |
| 30 CRWSessionCertificatePolicyManager* sessionCertificatePolicyManager; | |
| 31 | |
| 32 @end | |
| 33 | |
| 34 #endif // IOS_WEB_PUBLIC_CRW_NAVIGATION_MANAGER_SERIALIZATION_H_ | |
| OLD | NEW |