2020-03-20 13:28:31 -07:00
|
|
|
'use strict';
|
2018-09-23 00:28:50 +12:00
|
|
|
|
2020-03-20 13:28:31 -07:00
|
|
|
const { EventEmitter } = require('events');
|
|
|
|
const { app, deprecate } = require('electron');
|
2020-05-19 10:18:12 -07:00
|
|
|
const { fromPartition } = process.electronBinding('session');
|
2016-06-01 10:42:24 +09:00
|
|
|
|
2016-08-01 19:35:51 +09:00
|
|
|
// Public API.
|
2016-07-12 21:01:49 +09:00
|
|
|
Object.defineProperties(exports, {
|
|
|
|
defaultSession: {
|
|
|
|
enumerable: true,
|
2020-03-20 13:28:31 -07:00
|
|
|
get () { return fromPartition(''); }
|
2016-07-12 21:01:49 +09:00
|
|
|
},
|
|
|
|
fromPartition: {
|
|
|
|
enumerable: true,
|
|
|
|
value: fromPartition
|
2016-01-11 18:40:23 -08:00
|
|
|
}
|
2020-03-20 13:28:31 -07:00
|
|
|
});
|