Remove DownloadManagerDelegate

Having a partial implemented DownloadManagerDelegate will cause crashes under
certain places.
This commit is contained in:
Cheng Zhao 2014-12-17 13:13:19 -08:00
parent 779c44424f
commit dc86ab58a9
5 changed files with 4 additions and 42 deletions

View file

@ -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);
};