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

Unified Diff: ios/web/navigation/navigation_manager_impl.h

Issue 2705293014: Created web::UserAgentType. (Closed)
Patch Set: rebase + compile fix Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ios/web/navigation/navigation_manager_impl.h
diff --git a/ios/web/navigation/navigation_manager_impl.h b/ios/web/navigation/navigation_manager_impl.h
index a015d4b3105619da041fe612070ecdf82f149fbe..fc55bebe6a3f498b6f077c915257a77f4806da65 100644
--- a/ios/web/navigation/navigation_manager_impl.h
+++ b/ios/web/navigation/navigation_manager_impl.h
@@ -174,6 +174,10 @@ class NavigationManagerImpl : public NavigationManager {
// |index| has ui::PAGE_TRANSITION_IS_REDIRECT_MASK.
bool IsRedirectItemAtIndex(int index) const;
+ // Returns the most recent NavigationItem that does not have an app-specific
+ // URL.
+ NavigationItem* GetLastCommittedNonAppSpecificItem() const;
+
// If true, override navigation item's useDesktopUserAgent flag and always
// create the pending entry using the desktop user agent.
// TODO(crbug.com/692303): Remove this when overriding the user agent doesn't
« no previous file with comments | « ios/web/navigation/navigation_item_storage_test_util.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698