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

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

Issue 2642463002: Implemented FormResubmissionTabHelper. (Closed)
Patch Set: Moved FormResubmissionTabHelper::CreateForWebState to init 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/public/test/fakes/test_web_state.mm
diff --git a/ios/web/public/test/fakes/test_web_state.mm b/ios/web/public/test/fakes/test_web_state.mm
index 8757e1490256ccae48359dc17069f320f2444e2b..8114e4146d02e8b5737ce1ce0297497b0602a42f 100644
--- a/ios/web/public/test/fakes/test_web_state.mm
+++ b/ios/web/public/test/fakes/test_web_state.mm
@@ -162,6 +162,11 @@ void TestWebState::OnPageLoaded(
observer.PageLoaded(load_completion_status);
}
+void TestWebState::OnProvisionalNavigationStarted(const GURL& url) {
+ for (auto& observer : observers_)
+ observer.ProvisionalNavigationStarted(url);
+}
+
void TestWebState::SetCurrentURL(const GURL& url) {
url_ = url;
}

Powered by Google App Engine
This is Rietveld 408576698