Add session.setDownloadPath API.

This commit is contained in:
Haojian Wu 2015-07-26 16:30:02 +08:00
parent 2aa17debc8
commit fef53d18c4
6 changed files with 28 additions and 1 deletions

View file

@ -46,6 +46,7 @@ class Session: public mate::TrackableObject<Session> {
void ClearCache(const net::CompletionCallback& callback);
void ClearStorageData(mate::Arguments* args);
void SetProxy(const std::string& proxy, const base::Closure& callback);
void SetDownloadPath(const std::string& path);
v8::Local<v8::Value> Cookies(v8::Isolate* isolate);
v8::Global<v8::Value> cookies_;