feat: allow headers to be sent with session.downloadURL()
(#38785)
This commit is contained in:
parent
74d73166d9
commit
e73edb5481
4 changed files with 120 additions and 4 deletions
|
@ -131,7 +131,7 @@ class Session : public gin::Wrappable<Session>,
|
|||
bool IsPersistent();
|
||||
v8::Local<v8::Promise> GetBlobData(v8::Isolate* isolate,
|
||||
const std::string& uuid);
|
||||
void DownloadURL(const GURL& url);
|
||||
void DownloadURL(const GURL& url, gin::Arguments* args);
|
||||
void CreateInterruptedDownload(const gin_helper::Dictionary& options);
|
||||
void SetPreloads(const std::vector<base::FilePath>& preloads);
|
||||
std::vector<base::FilePath> GetPreloads() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue