| Index: chrome/browser/download/chrome_download_manager_delegate.h
|
| diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h
|
| index 3ee1518d5a8aff3eb3e6e61a1932864d0a21f95d..4c5bc7aa684eaf571262c6621171d9445234d592 100644
|
| --- a/chrome/browser/download/chrome_download_manager_delegate.h
|
| +++ b/chrome/browser/download/chrome_download_manager_delegate.h
|
| @@ -21,6 +21,7 @@
|
| class CrxInstaller;
|
| class DownloadHistory;
|
| class DownloadPrefs;
|
| +class ExtensionDownloadsEventRouter;
|
| class Profile;
|
|
|
| namespace content {
|
| @@ -201,6 +202,14 @@ class ChromeDownloadManagerDelegate
|
|
|
| content::NotificationRegistrar registrar_;
|
|
|
| + // The ExtensionDownloadsEventRouter dispatches download creation, change, and
|
| + // erase events to extensions. Like ChromeDownloadManagerDelegate, it's a
|
| + // chrome-level concept and its lifetime should match DownloadManager. There
|
| + // should be a separate EDER for on-record and off-record managers.
|
| + // There does not appear to be a separate ExtensionSystem for on-record and
|
| + // off-record profiles, so ExtensionSystem cannot own the EDER.
|
| + scoped_ptr<ExtensionDownloadsEventRouter> extension_event_router_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ChromeDownloadManagerDelegate);
|
| };
|
|
|
|
|