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

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

Issue 2915303002: Added NavigationManager::GetIndexOfItem(). (Closed)
Patch Set: 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
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 ffc8a15615b6aa7f58acf7f9fae517848bcdfa72..d2226ee28a2061aa084c6e93da8235d745f3df5a 100644
--- a/ios/web/navigation/navigation_manager_impl.h
+++ b/ios/web/navigation/navigation_manager_impl.h
@@ -121,6 +121,7 @@ class NavigationManagerImpl : public NavigationManager {
BrowserURLRewriter::URLRewriter rewriter) override;
int GetItemCount() const override;
NavigationItem* GetItemAtIndex(size_t index) const override;
+ int GetIndexOfItem(const NavigationItem* item) const override;
Eugene But (OOO till 7-30) 2017/06/02 18:08:08 Please add tests
kkhorimoto 2017/06/02 18:28:58 Done.
int GetPendingItemIndex() const override;
int GetLastCommittedItemIndex() const override;
bool RemoveItemAtIndex(int index) override;

Powered by Google App Engine
This is Rietveld 408576698