session: provide uploadData with webrequest api when available

This commit is contained in:
Robo 2016-01-26 13:58:21 +05:30
parent b461969114
commit dc0151099c
5 changed files with 88 additions and 29 deletions

View file

@ -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_