Remove DownloadManagerDelegate
Having a partial implemented DownloadManagerDelegate will cause crashes under certain places.
This commit is contained in:
parent
779c44424f
commit
dc86ab58a9
5 changed files with 4 additions and 42 deletions
|
@ -14,8 +14,6 @@ class PrefService;
|
|||
|
||||
namespace brightray {
|
||||
|
||||
class DownloadManagerDelegate;
|
||||
|
||||
class BrowserContext : public content::BrowserContext,
|
||||
public brightray::URLRequestContextGetter::Delegate {
|
||||
public:
|
||||
|
@ -68,7 +66,6 @@ class BrowserContext : public content::BrowserContext,
|
|||
scoped_ptr<ResourceContext> resource_context_;
|
||||
scoped_refptr<URLRequestContextGetter> url_request_getter_;
|
||||
scoped_ptr<PrefService> prefs_;
|
||||
scoped_ptr<DownloadManagerDelegate> download_manager_delegate_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(BrowserContext);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue