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

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

Issue 2740233002: Remove CRWSessionController usage from BrowserViewController. (Closed)
Patch Set: 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.h
diff --git a/ios/web/public/test/fakes/test_navigation_manager.h b/ios/web/public/test/fakes/test_navigation_manager.h
index 812077a4bf06379aaebdc39fbebcdb0ab213f76f..35947fb82f0007a63b0feeccf847604c7bd7421b 100644
--- a/ios/web/public/test/fakes/test_navigation_manager.h
+++ b/ios/web/public/test/fakes/test_navigation_manager.h
@@ -11,7 +11,7 @@ namespace web {
// A minimal implementation of web::NavigationManager that raises NOTREACHED()
// on most calls.
-class TestNavigationManager : public web::NavigationManager {
+class TestNavigationManager : public NavigationManager {
public:
TestNavigationManager();
~TestNavigationManager() override;
@@ -38,7 +38,10 @@ class TestNavigationManager : public web::NavigationManager {
void GoBack() override;
void GoForward() override;
void GoToIndex(int index) override;
+ NavigationItemList GetBackwardItems() const override;
+ NavigationItemList GetForwardItems() const override;
void Reload(bool check_for_reposts) override;
+ void InsertStateFromManager(const NavigationManager* manager) override;
void OverrideDesktopUserAgentForNextPendingItem() override;
// Setters for test data.

Powered by Google App Engine
This is Rietveld 408576698