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

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

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/web/public/test/fakes/test_web_client.h ('k') | ios/web/public/web_client.h » ('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.mm
diff --git a/ios/web/public/test/fakes/test_web_client.mm b/ios/web/public/test/fakes/test_web_client.mm
index 9baf4523db6db21e8ef65dbca3e4c46c7340ac00..aac1069198ee0d18866ed0aa09aff7d8639ecb33 100644
--- a/ios/web/public/test/fakes/test_web_client.mm
+++ b/ios/web/public/test/fakes/test_web_client.mm
@@ -39,7 +39,7 @@ base::RefCountedMemory* TestWebClient::GetDataResourceBytes(
return ResourceBundle::GetSharedInstance().LoadDataResourceBytes(resource_id);
}
-NSString* TestWebClient::GetEarlyPageScript() const {
+NSString* TestWebClient::GetEarlyPageScript(BrowserState* browser_state) const {
return early_page_script_ ? early_page_script_.get() : @"";
}
« no previous file with comments | « ios/web/public/test/fakes/test_web_client.h ('k') | ios/web/public/web_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698