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

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

Issue 2655253002: Revert of Moved NavigationManagerImpl serialization out of CRWSessionController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 3 years, 11 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 | « ios/web/navigation/crw_session_controller.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 33d4fbe6e2fc550c51f87fb0f5d9a75e9e366404..63479acf40384e831675454b85d4acac8936fef5 100644
--- a/ios/web/navigation/navigation_manager_impl.h
+++ b/ios/web/navigation/navigation_manager_impl.h
@@ -24,18 +24,14 @@
struct Referrer;
class NavigationManagerDelegate;
class NavigationManagerFacadeDelegate;
-class NavigationManagerStorageBuilder;
// Implementation of NavigationManager.
// Generally mirrors upstream's NavigationController.
class NavigationManagerImpl : public NavigationManager {
public:
- NavigationManagerImpl();
+ NavigationManagerImpl(NavigationManagerDelegate* delegate,
+ BrowserState* browser_state);
~NavigationManagerImpl() override;
-
- // Setters for NavigationManagerDelegate and BrowserState.
- void SetDelegate(NavigationManagerDelegate* delegate);
- void SetBrowserState(BrowserState* browser_state);
// Sets the CRWSessionController that backs this object.
// Keeps a strong reference to |session_controller|.
@@ -142,10 +138,6 @@
int GetIndexForOffset(int offset) const;
private:
- // The NavigationManagerStorageBuilder functions require access to
- // private variables of NavigationManagerImpl.
- friend NavigationManagerStorageBuilder;
-
// Returns true if the PageTransition for the underlying navigation item at
// |index| has ui::PAGE_TRANSITION_IS_REDIRECT_MASK.
bool IsRedirectItemAtIndex(int index) const;
« no previous file with comments | « ios/web/navigation/crw_session_controller.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698