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

Side by Side Diff: ios/web/web_state/js/crw_js_post_request_loader.h

Issue 1375023002: Adds support for POST request with bodies on WKWebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rest of the commetns Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_WEB_STATE_JS_CRW_JS_HTML_LOADER_H_
Eugene But (OOO till 7-30) 2015/10/08 17:46:32 This does not match filename
stkhapugin 2015/12/03 15:43:01 Done.
6 #define IOS_WEB_WEB_STATE_JS_CRW_JS_HTML_LOADER_H_
7
8 #import <WebKit/WKWebView.h>
9
10 // Class to load POST requests in a provided web view via JavaScript.
11 @interface CRWJSPOSTRequestLoader : NSObject
Eugene But (OOO till 7-30) 2015/10/08 17:46:32 Do we need a class here? Can we have a function in
stkhapugin 2015/12/03 15:43:00 We need a class here because we want to cache the
12
13 // Asynchronously loads a POST |request| in provided |webView|.
14 - (void)loadPOSTRequest:(NSURLRequest*)request inWebView:(WKWebView*)webView;
Eugene But (OOO till 7-30) 2015/10/08 17:46:32 This needs a unit test
stkhapugin 2015/12/03 15:43:01 Done.
15
16 @end
17
18 #endif // IOS_WEB_WEB_STATE_JS_CRW_JS_HTML_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698