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

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

Issue 1360993002: Moved NavigationManagerImpl serialization out of CRWSessionController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compilation fix after rebase 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_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 // TODO(crbug.com/454984): |entries| currently contains CRWSessionEntries. Once
26 // NavigationItemImpls are encoded/decoded using CRWNavigationItemSerializations
27 // (analogous to the approach taken with NavigationManager), this will
28 // become an array of CRWNavigationItemSerializations.
29 @property(nonatomic, copy) NSArray* entries;
30 @property(nonatomic, retain)
31 CRWSessionCertificatePolicyManager* sessionCertificatePolicyManager;
32
33 @end
34
35 #endif // IOS_WEB_PUBLIC_CRW_NAVIGATION_MANAGER_STORAGE_H_
OLDNEW
« no previous file with comments | « ios/web/net/crw_ssl_status_updater_unittest.mm ('k') | ios/web/public/crw_navigation_manager_storage.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698