Use the BrowserContext from protocol
This commit is contained in:
parent
e209312459
commit
923296b4ee
6 changed files with 21 additions and 11 deletions
|
@ -33,6 +33,8 @@ class Protocol : public mate::EventEmitter {
|
|||
|
||||
JsProtocolHandler GetProtocolHandler(const std::string& scheme);
|
||||
|
||||
AtomBrowserContext* browser_context() const { return browser_context_; }
|
||||
|
||||
protected:
|
||||
explicit Protocol(AtomBrowserContext* browser_context);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue