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

Unified Diff: ios/web/navigation/navigation_manager_impl_unittest.mm

Issue 1360993002: Moved NavigationManagerImpl serialization out of CRWSessionController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compilation fix after rebase 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
Index: ios/web/navigation/navigation_manager_impl_unittest.mm
diff --git a/ios/web/navigation/navigation_manager_impl_unittest.mm b/ios/web/navigation/navigation_manager_impl_unittest.mm
index 142da93322a1a5f704508b0898f1daff1a66d389..e8ca163354d381589456b4ce43115cf8b66e9a2e 100644
--- a/ios/web/navigation/navigation_manager_impl_unittest.mm
+++ b/ios/web/navigation/navigation_manager_impl_unittest.mm
@@ -28,8 +28,9 @@ void OnNavigationItemCommitted(const LoadCommittedDetails&) override {}
// Test fixture for NavigationManagerImpl testing.
class NavigationManagerTest : public PlatformTest {
protected:
- NavigationManagerTest()
- : manager_(new NavigationManagerImpl(&delegate_, &browser_state_)) {
+ NavigationManagerTest() : manager_(new NavigationManagerImpl()) {
+ manager_->SetDelegate(&delegate_);
+ manager_->SetBrowserState(&browser_state_);
controller_.reset([[CRWSessionController alloc]
initWithWindowName:nil
openerId:nil
« no previous file with comments | « ios/web/navigation/navigation_manager_impl.mm ('k') | ios/web/navigation/navigation_manager_storage_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698