Add options to session.fromPartition
This commit is contained in:
parent
00804e5f98
commit
e213e09c3e
4 changed files with 19 additions and 9 deletions
|
@ -192,7 +192,8 @@ void AtomBrowserContext::RegisterPrefs(PrefRegistrySimple* pref_registry) {
|
|||
|
||||
// static
|
||||
scoped_refptr<AtomBrowserContext> AtomBrowserContext::From(
|
||||
const std::string& partition, bool in_memory) {
|
||||
const std::string& partition, bool in_memory,
|
||||
const base::DictionaryValue& options) {
|
||||
auto browser_context = brightray::BrowserContext::Get(partition, in_memory);
|
||||
if (browser_context)
|
||||
return static_cast<AtomBrowserContext*>(browser_context.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue