use request context from session if provided

This commit is contained in:
Robo 2015-07-15 18:05:38 +05:30
parent 8eb87c5d2b
commit 57244e4718
9 changed files with 46 additions and 8 deletions

View file

@ -31,6 +31,8 @@ class Session: public mate::TrackableObject<Session> {
static mate::Handle<Session> CreateFrom(
v8::Isolate* isolate, AtomBrowserContext* browser_context);
AtomBrowserContext* GetBrowserContext() const;
protected:
explicit Session(AtomBrowserContext* browser_context);
~Session();