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

Unified Diff: ios/web/test/web_int_test.h

Issue 2644223002: Integration tests for WebStateDelegate::OnAuthRequired callback. (Closed)
Patch Set: Addressed review comments 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/public/test/response_providers/http_auth_response_provider.mm ('k') | ios/web/test/web_int_test.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/test/web_int_test.h
diff --git a/ios/web/test/web_int_test.h b/ios/web/test/web_int_test.h
index 8544c257460a6fe164c4216b191e310615f7ac33..3471a40e4c4fc066b080f77762bdf9cb345c1648 100644
--- a/ios/web/test/web_int_test.h
+++ b/ios/web/test/web_int_test.h
@@ -9,6 +9,7 @@
#import "base/ios/block_types.h"
#import "ios/web/public/navigation_manager.h"
+#import "ios/web/public/test/fakes/test_web_state_delegate.h"
#include "ios/web/public/test/web_test.h"
#import "ios/web/public/web_state/web_state.h"
@@ -55,6 +56,8 @@ class WebIntTest : public WebTest {
// or NSNotFound if it is not present.
NSInteger GetIndexOfNavigationItem(const web::NavigationItem* item);
+ web::TestWebStateDelegate web_state_delegate_;
+
private:
// WebState used to load pages.
std::unique_ptr<WebState> web_state_;
« no previous file with comments | « ios/web/public/test/response_providers/http_auth_response_provider.mm ('k') | ios/web/test/web_int_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698