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

Side by Side Diff: ios/web/navigation/crw_session_controller.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « ios/web/app/web_main_loop.h ('k') | ios/web/navigation/crw_session_entry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_ 5 #ifndef IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_
6 #define IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_ 6 #define IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ui/base/page_transition_types.h" 11 #include "ui/base/page_transition_types.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 @class CRWSessionEntry; 14 @class CRWSessionEntry;
15 @class CRWSessionCertificatePolicyManager; 15 @class CRWSessionCertificatePolicyManager;
16 16
17 namespace web { 17 namespace web {
18 class NavigationManagerImpl; 18 class NavigationManagerImpl;
19 struct Referrer; 19 struct Referrer;
20 struct SSLStatus;
21 } 20 }
22 21
23 // A CRWSessionController is similar to a NavigationController object in desktop 22 // A CRWSessionController is similar to a NavigationController object in desktop
24 // Chrome. It maintains information needed to save/restore a tab with its 23 // Chrome. It maintains information needed to save/restore a tab with its
25 // complete session history. There is one of these for each tab. 24 // complete session history. There is one of these for each tab.
26 // TODO(stuartmorgan): Move under NavigationManager, and consider merging into 25 // TODO(stuartmorgan): Move under NavigationManager, and consider merging into
27 // NavigationManager. 26 // NavigationManager.
28 @interface CRWSessionController : NSObject<NSCoding, NSCopying> 27 @interface CRWSessionController : NSObject<NSCoding, NSCopying>
29 28
30 @property(nonatomic, readonly, copy) NSString* tabId; 29 @property(nonatomic, readonly, copy) NSString* tabId;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // |entries_| is empty. 136 // |entries_| is empty.
138 - (CRWSessionEntry*)lastUserEntry; 137 - (CRWSessionEntry*)lastUserEntry;
139 138
140 // Set |useDesktopUserAgentForNextPendingEntry_| to YES if there is no pending 139 // Set |useDesktopUserAgentForNextPendingEntry_| to YES if there is no pending
141 // entry, otherwise set |useDesktopUserAgent| in the pending entry. 140 // entry, otherwise set |useDesktopUserAgent| in the pending entry.
142 - (void)useDesktopUserAgentForNextPendingEntry; 141 - (void)useDesktopUserAgentForNextPendingEntry;
143 142
144 @end 143 @end
145 144
146 #endif // IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_ 145 #endif // IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/web/app/web_main_loop.h ('k') | ios/web/navigation/crw_session_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698