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

Unified Diff: ios/web/public/test/fakes/test_web_client.h

Issue 2741343015: Add a BrowserState* parameter to GetEarlyPageScript(). (Closed)
Patch Set: Apply review comments. Created 3 years, 9 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/chrome/browser/web/early_page_script_perftest.mm ('k') | ios/web/public/test/fakes/test_web_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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&,
« no previous file with comments | « ios/chrome/browser/web/early_page_script_perftest.mm ('k') | ios/web/public/test/fakes/test_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698