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

Side by Side Diff: ios/web/public/crw_navigation_manager_serialization.h

Issue 1360993002: Moved NavigationManagerImpl serialization out of CRWSessionController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698