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

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

Issue 2745873002: Created NavigationManager::CopyStateFromAndPrune(). (Closed)
Patch Set: mimic content// API Created 3 years, 9 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 764ef58bf5476f559aa2506e55d49b2a27d12306..56bd2474ff177974ba041a0bf3f0cc03601c5297 100644
--- a/ios/web/navigation/navigation_manager_impl.h
+++ b/ios/web/navigation/navigation_manager_impl.h
@@ -144,6 +144,8 @@ class NavigationManagerImpl : public NavigationManager {
void Reload(ReloadType reload_type, bool check_for_reposts) override;
NavigationItemList GetBackwardItems() const override;
NavigationItemList GetForwardItems() const override;
+ void CopyStateFromAndPrune(const NavigationManager* source) override;
+ bool CanPruneAllButLastCommittedItem() const override;
void OverrideDesktopUserAgentForNextPendingItem() override;
// Returns the current list of transient url rewriters, passing ownership to

Powered by Google App Engine
This is Rietveld 408576698