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

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

Issue 2834413002: Return NavigationContext from registerLoadRequest. (Closed)
Patch Set: - Created 3 years, 8 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
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
Eugene But (OOO till 7-30) 2017/04/24 15:52:00 This is a change from dependent CL/2840473003, I d
+ 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') | ios/web/web_state/ui/crw_web_controller.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698