| Index: ios/web/navigation/crw_session_controller.mm
|
| diff --git a/ios/web/navigation/crw_session_controller.mm b/ios/web/navigation/crw_session_controller.mm
|
| index 2c7db40a76162a88c382ef833f0370e47e6fb585..8430bea9859c196bb3efa23094135b3c4d383100 100644
|
| --- a/ios/web/navigation/crw_session_controller.mm
|
| +++ b/ios/web/navigation/crw_session_controller.mm
|
| @@ -653,36 +653,6 @@ NSString* const kWindowNameKey = @"windowName";
|
| return entries;
|
| }
|
|
|
| -- (std::vector<GURL>)currentRedirectedUrls {
|
| - std::vector<GURL> results;
|
| - if (_pendingEntry) {
|
| - web::NavigationItem* item = [_pendingEntry navigationItem];
|
| - results.push_back(item->GetURL());
|
| -
|
| - if (!ui::PageTransitionIsRedirect(item->GetTransitionType()))
|
| - return results;
|
| - }
|
| -
|
| - if (![_entries count])
|
| - return results;
|
| -
|
| - NSInteger index = _currentNavigationIndex;
|
| - // Add urls in the redirected entries.
|
| - while (index >= 0) {
|
| - web::NavigationItem* item = [[_entries objectAtIndex:index] navigationItem];
|
| - if (!ui::PageTransitionIsRedirect(item->GetTransitionType()))
|
| - break;
|
| - results.push_back(item->GetURL());
|
| - --index;
|
| - }
|
| - // Add the last non-redirected entry.
|
| - if (index >= 0) {
|
| - web::NavigationItem* item = [[_entries objectAtIndex:index] navigationItem];
|
| - results.push_back(item->GetURL());
|
| - }
|
| - return results;
|
| -}
|
| -
|
| - (BOOL)isSameDocumentNavigationBetweenEntry:(CRWSessionEntry*)firstEntry
|
| andEntry:(CRWSessionEntry*)secondEntry {
|
| if (!firstEntry || !secondEntry || firstEntry == secondEntry)
|
|
|