Add options to session.fromPartition
This commit is contained in:
parent
00804e5f98
commit
e213e09c3e
4 changed files with 19 additions and 9 deletions
|
@ -19,9 +19,11 @@ class WebViewManager;
|
|||
class AtomBrowserContext : public brightray::BrowserContext {
|
||||
public:
|
||||
// Get or create the BrowserContext according to its |partition| and
|
||||
// |in_memory|.
|
||||
// |in_memory|. The |options| will be passed to constructor when there is no
|
||||
// existing BrowserContext.
|
||||
static scoped_refptr<AtomBrowserContext> From(
|
||||
const std::string& partition, bool in_memory);
|
||||
const std::string& partition, bool in_memory,
|
||||
const base::DictionaryValue& options = base::DictionaryValue());
|
||||
|
||||
void SetUserAgent(const std::string& user_agent);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue