| Index: ios/web/public/web_state/js/crw_js_injection_evaluator.h
|
| diff --git a/ios/web/public/web_state/js/crw_js_injection_evaluator.h b/ios/web/public/web_state/js/crw_js_injection_evaluator.h
|
| index 17d2c4fe8b71905e894171ae6b4b2baa07fe832a..6bbd08da0c872e6e7920155be3f92c7f6ea40de6 100644
|
| --- a/ios/web/public/web_state/js/crw_js_injection_evaluator.h
|
| +++ b/ios/web/public/web_state/js/crw_js_injection_evaluator.h
|
| @@ -11,14 +11,6 @@
|
|
|
| @protocol CRWJSInjectionEvaluator
|
|
|
| -// Evaluates the supplied JavaScript in the WebView. Calls |completionHandler|
|
| -// with results of the evaluation (which may be nil if the implementing object
|
| -// has no way to run the evaluation or the evaluation returns a nil value)
|
| -// or an NSError if there is an error. The |completionHandler| can be nil.
|
| -// TODO(crbug.com/595761): Change this API to return |id| instead of string.
|
| -- (void)evaluateJavaScript:(NSString*)script
|
| - stringResultHandler:(web::JavaScriptCompletion)handler;
|
| -
|
| // Executes the supplied JavaScript in the WebView. Calls |completionHandler|
|
| // with results of the execution (which may be nil if the implementing object
|
| // has no way to run the execution or the execution returns a nil value)
|
|
|