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

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

Issue 2643643003: Remove unused and obsolete Tab -currentRedirectedURLs method. (Closed)
Patch Set: 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
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/web/navigation/crw_session_controller.mm » ('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
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 - (void)removeEntryAtIndex:(NSInteger)index; 118 - (void)removeEntryAtIndex:(NSInteger)index;
119 119
120 // Returns an array containing all of the non-redirected CRWSessionEntry objects 120 // Returns an array containing all of the non-redirected CRWSessionEntry objects
121 // whose index in |entries_| is less than |currentNavigationIndex_|. 121 // whose index in |entries_| is less than |currentNavigationIndex_|.
122 - (NSArray*)backwardEntries; 122 - (NSArray*)backwardEntries;
123 123
124 // Returns an array containing all of the non-redirected CRWSessionEntry objects 124 // Returns an array containing all of the non-redirected CRWSessionEntry objects
125 // whose index in |entries_| is greater than |currentNavigationIndex_|. 125 // whose index in |entries_| is greater than |currentNavigationIndex_|.
126 - (NSArray*)forwardEntries; 126 - (NSArray*)forwardEntries;
127 127
128 // Returns the URLs in the entries that are redirected to the current entry.
129 - (std::vector<GURL>)currentRedirectedUrls;
130
131 // Determines whether a navigation between |firstEntry| and |secondEntry| is a 128 // Determines whether a navigation between |firstEntry| and |secondEntry| is a
132 // same-document navigation. Entries can be passed in any order. 129 // same-document navigation. Entries can be passed in any order.
133 - (BOOL)isSameDocumentNavigationBetweenEntry:(CRWSessionEntry*)firstEntry 130 - (BOOL)isSameDocumentNavigationBetweenEntry:(CRWSessionEntry*)firstEntry
134 andEntry:(CRWSessionEntry*)secondEntry; 131 andEntry:(CRWSessionEntry*)secondEntry;
135 132
136 // Find the most recent session entry that is not a redirect. Returns nil if 133 // Find the most recent session entry that is not a redirect. Returns nil if
137 // |entries_| is empty. 134 // |entries_| is empty.
138 - (CRWSessionEntry*)lastUserEntry; 135 - (CRWSessionEntry*)lastUserEntry;
139 136
140 // Set |useDesktopUserAgentForNextPendingEntry_| to YES if there is no pending 137 // Set |useDesktopUserAgentForNextPendingEntry_| to YES if there is no pending
141 // entry, otherwise set |useDesktopUserAgent| in the pending entry. 138 // entry, otherwise set |useDesktopUserAgent| in the pending entry.
142 - (void)useDesktopUserAgentForNextPendingEntry; 139 - (void)useDesktopUserAgentForNextPendingEntry;
143 140
144 @end 141 @end
145 142
146 #endif // IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_ 143 #endif // IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/web/navigation/crw_session_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698