Allow clients to supply their own NetworkDelegate implementation
This commit is contained in:
parent
09efd19d2f
commit
33b574b434
5 changed files with 20 additions and 6 deletions
|
@ -13,6 +13,7 @@ class PrefService;
|
|||
|
||||
namespace brightray {
|
||||
|
||||
class NetworkDelegate;
|
||||
class URLRequestContextGetter;
|
||||
|
||||
class BrowserContext : public content::BrowserContext {
|
||||
|
@ -28,6 +29,9 @@ protected:
|
|||
// Subclasses should override this to register custom preferences.
|
||||
virtual void RegisterPrefs(PrefRegistrySimple*) {}
|
||||
|
||||
// Subclasses should override this to provide a custom NetworkDelegate implementation.
|
||||
virtual scoped_ptr<NetworkDelegate> CreateNetworkDelegate();
|
||||
|
||||
virtual base::FilePath GetPath() OVERRIDE;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue