Initialize the fake BrowserProcess object.
This commit is contained in:
parent
d934526bb3
commit
8dcb3726f9
2 changed files with 8 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include "brightray/browser/browser_context.h"
|
||||
|
||||
class BrowserProcess;
|
||||
|
||||
namespace atom {
|
||||
|
||||
class AtomURLRequestJobFactory;
|
||||
|
@ -28,6 +30,9 @@ class AtomBrowserContext : public brightray::BrowserContext {
|
|||
content::ProtocolHandlerScopedVector* interceptors) OVERRIDE;
|
||||
|
||||
private:
|
||||
// A fake BrowserProcess object that used to feed the source code from chrome.
|
||||
scoped_ptr<BrowserProcess> fake_browser_process_;
|
||||
|
||||
AtomURLRequestJobFactory* job_factory_; // Weak reference.
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(AtomBrowserContext);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue