Hide in_memory parameter in native interface

This commit is contained in:
Cheng Zhao 2016-07-12 21:01:49 +09:00
parent 06a41cedab
commit 400bb8d0f3
4 changed files with 30 additions and 34 deletions

View file

@ -47,9 +47,9 @@ class Session: public mate::TrackableObject<Session>,
static mate::Handle<Session> CreateFrom(
v8::Isolate* isolate, AtomBrowserContext* browser_context);
// Gets the Session of |partition| and |in_memory|.
// Gets the Session of |partition|.
static mate::Handle<Session> FromPartition(
v8::Isolate* isolate, const std::string& partition, bool in_memory);
v8::Isolate* isolate, const std::string& partition);
AtomBrowserContext* browser_context() const { return browser_context_.get(); }