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

Unified Diff: ios/web/public/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/web/public/test/fakes/test_web_client.mm ('k') | ios/web/public/web_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_client.h
diff --git a/ios/web/public/web_client.h b/ios/web/public/web_client.h
index d949f55a6bccf0c38753b49b35e16f6a6517aafe..5c59fd224dc524d7cefc203be4a0c4a20b50517c 100644
--- a/ios/web/public/web_client.h
+++ b/ios/web/public/web_client.h
@@ -108,7 +108,7 @@ class WebClient {
// Gives the embedder a chance to provide the JavaScript to be injected into
// the web view as early as possible. Result must not be nil.
- virtual NSString* GetEarlyPageScript() const;
+ virtual NSString* GetEarlyPageScript(BrowserState* browser_state) const;
// Informs the embedder that a certificate error has occurred. If
// |overridable| is true, the user can ignore the error and continue. The
« no previous file with comments | « ios/web/public/test/fakes/test_web_client.mm ('k') | ios/web/public/web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698