summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/extensions/api/downloads/downloads_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/extensions/api/downloads/downloads_api.h')
-rw-r--r--chromium/chrome/browser/extensions/api/downloads/downloads_api.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/chrome/browser/extensions/api/downloads/downloads_api.h b/chromium/chrome/browser/extensions/api/downloads/downloads_api.h
index 1f39ba01ffd..d0b6f832269 100644
--- a/chromium/chrome/browser/extensions/api/downloads/downloads_api.h
+++ b/chromium/chrome/browser/extensions/api/downloads/downloads_api.h
@@ -20,16 +20,13 @@
#include "components/download/public/common/download_path_reservation_tracker.h"
#include "content/public/browser/download_manager.h"
#include "extensions/browser/event_router.h"
+#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_registry_observer.h"
#include "extensions/browser/warning_set.h"
class DownloadFileIconExtractor;
class DownloadOpenPrompt;
-namespace extensions {
-class ExtensionRegistry;
-}
-
// Functions in the chrome.downloads namespace facilitate
// controlling downloads from extensions. See the full API doc at
// http://goo.gl/6hO1n
@@ -395,7 +392,7 @@ class ExtensionDownloadsEventRouter
// Listen to extension unloaded notifications.
ScopedObserver<extensions::ExtensionRegistry,
extensions::ExtensionRegistryObserver>
- extension_registry_observer_;
+ extension_registry_observer_{this};
DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter);
};