| Index: chrome/browser/safe_browsing/safe_browsing_service.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| index a232dc717ef7d174cbb14241e9522ad306f691d5..68471b08da82336c70d60d82b42c54b9a9a3b181 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
|
| @@ -280,8 +280,8 @@ void SafeBrowsingService::ShutDown() {
|
| // dtor executes now since it may call the dtor of URLFetcher which relies
|
| // on it.
|
| csd_service_.reset();
|
| - download_service_.reset();
|
| incident_service_.reset();
|
| + download_service_.reset();
|
|
|
| url_request_context_getter_ = NULL;
|
| BrowserThread::PostNonNestableTask(
|
| @@ -347,6 +347,14 @@ void SafeBrowsingService::RegisterDelayedAnalysisCallback(
|
| #endif
|
| }
|
|
|
| +void SafeBrowsingService::AddDownloadManager(
|
| + content::DownloadManager* download_manager) {
|
| +#if defined(FULL_SAFE_BROWSING)
|
| + if (incident_service_)
|
| + incident_service_->AddDownloadManager(download_manager);
|
| +#endif
|
| +}
|
| +
|
| SafeBrowsingUIManager* SafeBrowsingService::CreateUIManager() {
|
| return new SafeBrowsingUIManager(this);
|
| }
|
|
|