| Index: ios/web/web_state/js/page_script_util.h
|
| diff --git a/ios/web/web_state/js/page_script_util.h b/ios/web/web_state/js/page_script_util.h
|
| index 451a38e99e8146648e1d7d0ed1fec464bcfdcffb..53d67cb89a877c59e99b2e5f02ccddcebcbb51ce 100644
|
| --- a/ios/web/web_state/js/page_script_util.h
|
| +++ b/ios/web/web_state/js/page_script_util.h
|
| @@ -10,13 +10,15 @@
|
|
|
| namespace web {
|
|
|
| +class BrowserState;
|
| +
|
| // Returns an autoreleased string containing the JavaScript loaded from a
|
| // bundled resource file with the given name (excluding extension).
|
| NSString* GetPageScript(NSString* script_file_name);
|
|
|
| // Returns an autoreleased string containing the JavaScript to be injected into
|
| // the web view as early as possible.
|
| -NSString* GetEarlyPageScript();
|
| +NSString* GetEarlyPageScript(BrowserState* browser_state);
|
|
|
| } // namespace web
|
|
|
|
|