Index: ios/web/public/test/fakes/test_web_client.h |
diff --git a/ios/web/public/test/fakes/test_web_client.h b/ios/web/public/test/fakes/test_web_client.h |
index bc83951cc30471feeef5f9020296728f78905828..9e65bf9034dabb50bcc4f9fc12c8459bfb1b5058 100644 |
--- a/ios/web/public/test/fakes/test_web_client.h |
+++ b/ios/web/public/test/fakes/test_web_client.h |
@@ -15,6 +15,8 @@ |
namespace web { |
+class BrowserState; |
+ |
// A WebClient used for testing purposes. |
class TestWebClient : public web::WebClient { |
public: |
@@ -26,7 +28,7 @@ class TestWebClient : public web::WebClient { |
// Returns true for kTestWebUIScheme URL scheme. |
bool IsAppSpecificURL(const GURL& url) const override; |
base::RefCountedMemory* GetDataResourceBytes(int id) const override; |
- NSString* GetEarlyPageScript() const override; |
+ NSString* GetEarlyPageScript(BrowserState* browser_state) const override; |
void AllowCertificateError(WebState*, |
int cert_error, |
const net::SSLInfo&, |