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

Unified Diff: ios/web/web_state/js/crw_js_post_request_loader.h

Issue 2840473003: Return WKNavigation from loadRequest and loadPostRequest. (Closed)
Patch Set: Rebased Created 3 years, 7 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 | « no previous file | ios/web/web_state/js/crw_js_post_request_loader.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/crw_js_post_request_loader.h
diff --git a/ios/web/web_state/js/crw_js_post_request_loader.h b/ios/web/web_state/js/crw_js_post_request_loader.h
index ffcde3bc7c060298d4ef44ddd9c19ba4ff977a44..04aab27debefaa6c51832429130ba0f6d31e385d 100644
--- a/ios/web/web_state/js/crw_js_post_request_loader.h
+++ b/ios/web/web_state/js/crw_js_post_request_loader.h
@@ -18,10 +18,10 @@
// been executed. In case of successful request, the passed error is nil.
// The |completionHandler| must not be null. The |messageRouter| and |webView|
// must not be nil. The |request| must be a POST request.
-- (void)loadPOSTRequest:(NSURLRequest*)request
- inWebView:(WKWebView*)webView
- messageRouter:(CRWWKScriptMessageRouter*)messageRouter
- completionHandler:(void (^)(NSError*))completionHandler;
+- (WKNavigation*)loadPOSTRequest:(NSURLRequest*)request
+ inWebView:(WKWebView*)webView
+ messageRouter:(CRWWKScriptMessageRouter*)messageRouter
+ completionHandler:(void (^)(NSError*))completionHandler;
@end
« no previous file with comments | « no previous file | ios/web/web_state/js/crw_js_post_request_loader.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698