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

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

Issue 2901293003: Made renderer-initiated requests registration more reliable. (Closed)
Patch Set: Cleaned up Created 3 years, 7 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
« no previous file with comments | « no previous file | ios/web/navigation/navigation_manager_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/navigation_manager_util.h
diff --git a/ios/web/navigation/navigation_manager_util.h b/ios/web/navigation/navigation_manager_util.h
index 0c22977528f5381d3eb34d19d105173155c77c31..2c565a64be0ad2aa91a352f12aff1206a3ecc61c 100644
--- a/ios/web/navigation/navigation_manager_util.h
+++ b/ios/web/navigation/navigation_manager_util.h
@@ -13,6 +13,12 @@ namespace web {
class NavigationItem;
class NavigationManager;
+// Returns transient, committed or pending navigation item with given
+// |unique_id| or null if item is not found. Item's unique id is retrieved via
+// GetUniqueID method.
+NavigationItem* GetItemWithUniqueID(NavigationManager* navigation_manager,
+ int unique_id);
+
// Returns committed navigation item with given |unique_id| or null if item
// is not found or it is pending or transient. Item's unique id is retrieved
// via GetUniqueID method.
« no previous file with comments | « no previous file | ios/web/navigation/navigation_manager_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698