session: provide uploadData with webrequest api when available
This commit is contained in:
parent
b461969114
commit
dc0151099c
5 changed files with 88 additions and 29 deletions
|
@ -8,6 +8,10 @@
|
|||
#include "base/memory/ref_counted.h"
|
||||
#include "native_mate/converter.h"
|
||||
|
||||
namespace base {
|
||||
class ListValue;
|
||||
}
|
||||
|
||||
namespace net {
|
||||
class AuthChallengeInfo;
|
||||
class URLRequest;
|
||||
|
@ -36,4 +40,11 @@ struct Converter<scoped_refptr<net::X509Certificate>> {
|
|||
|
||||
} // namespace mate
|
||||
|
||||
namespace atom {
|
||||
|
||||
void GetUploadData(base::ListValue* upload_data_list,
|
||||
const net::URLRequest* request);
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_COMMON_NATIVE_MATE_CONVERTERS_NET_CONVERTER_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue