session: api to set proxy
This commit is contained in:
parent
8cf9df2d8d
commit
d3055a5ca0
3 changed files with 62 additions and 5 deletions
|
@ -45,6 +45,7 @@ class Session: public mate::TrackableObject<Session> {
|
|||
void ResolveProxy(const GURL& url, ResolveProxyCallback callback);
|
||||
void ClearCache(const net::CompletionCallback& callback);
|
||||
void ClearStorageData(mate::Arguments* args);
|
||||
void SetProxy(const std::string& proxy, const base::Closure& callback);
|
||||
v8::Local<v8::Value> Cookies(v8::Isolate* isolate);
|
||||
|
||||
v8::Global<v8::Value> cookies_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue