Add session.defaultSession and remove app.defaultSession

The latter has never been a public API, no need to keep it.
This commit is contained in:
Cheng Zhao 2015-11-19 21:03:42 +08:00
parent 47d7d49d19
commit 1392873cbc
5 changed files with 15 additions and 26 deletions

View file

@ -87,9 +87,6 @@ class App : public AtomBrowserClient::Delegate,
bool MakeSingleInstance(
const ProcessSingleton::NotificationCallback& callback);
std::string GetLocale();
v8::Local<v8::Value> DefaultSession(v8::Isolate* isolate);
v8::Global<v8::Value> default_session_;
scoped_ptr<ProcessSingleton> process_singleton_;