Index: chrome/browser/extensions/webstore_installer.h |
diff --git a/chrome/browser/extensions/webstore_installer.h b/chrome/browser/extensions/webstore_installer.h |
index 8d2ebb1100df00944cbd31c221b4e6797b744754..678dd0f3c2d159afb901801b15a9678c834a2f0e 100644 |
--- a/chrome/browser/extensions/webstore_installer.h |
+++ b/chrome/browser/extensions/webstore_installer.h |
@@ -55,7 +55,7 @@ class WebstoreInstaller : public content::NotificationObserver, |
// be skipped or modified. If one of these is present, it means that a CRX |
// download was initiated by WebstoreInstaller. The Approval instance should |
// be checked further for additional details. |
- struct Approval : public content::DownloadItem::ExternalData { |
+ struct Approval : public base::SupportsUserData::Data { |
static scoped_ptr<Approval> CreateWithInstallPrompt(Profile* profile); |
static scoped_ptr<Approval> CreateWithNoInstallPrompt( |
Profile* profile, |
@@ -133,7 +133,7 @@ class WebstoreInstaller : public content::NotificationObserver, |
// DownloadItem::Observer implementation: |
virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; |
- virtual void OnDownloadOpened(content::DownloadItem* download) OVERRIDE; |
+ virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; |
// Starts downloading the extension to |file_path|. |
void StartDownload(const FilePath& file_path); |