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

Unified Diff: ios/web/public/test/fakes/test_navigation_manager.mm

Issue 2745873002: Created NavigationManager::CopyStateFromAndPrune(). (Closed)
Patch Set: Added no-op tests, addressed Eugene's comments 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/public/test/fakes/test_navigation_manager.mm
diff --git a/ios/web/public/test/fakes/test_navigation_manager.mm b/ios/web/public/test/fakes/test_navigation_manager.mm
index 579a1e791dd7d686a614de38ec05555d3b99470d..49cbc3b984ae419b0a460b60a6ee83a146ae17d1 100644
--- a/ios/web/public/test/fakes/test_navigation_manager.mm
+++ b/ios/web/public/test/fakes/test_navigation_manager.mm
@@ -150,6 +150,16 @@
return NavigationItemList();
}
+void TestNavigationManager::CopyStateFromAndPrune(
+ const NavigationManager* source) {
+ NOTREACHED();
+}
+
+bool TestNavigationManager::CanPruneAllButLastCommittedItem() const {
+ NOTREACHED();
+ return false;
+}
+
void TestNavigationManager::OverrideDesktopUserAgentForNextPendingItem() {
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698