feat: add API to check if session is persistent (#22622)

This commit is contained in:
Erick Zhao 2020-03-11 00:02:22 -07:00 committed by GitHub
parent 19314d3caf
commit 34e004015d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 0 deletions

View file

@ -86,6 +86,7 @@ class Session : public gin_helper::TrackableObject<Session>,
void AllowNTLMCredentialsForDomains(const std::string& domains);
void SetUserAgent(const std::string& user_agent, gin_helper::Arguments* args);
std::string GetUserAgent();
bool IsPersistent();
v8::Local<v8::Promise> GetBlobData(v8::Isolate* isolate,
const std::string& uuid);
void DownloadURL(const GURL& url);