OnDownloadStarted takes DownloadItem* instead of DownloadId
PS1@r160378
Reviewers:
sky: content/public/test, content/browser/renderer_host/resource_dispatcher_host_impl.cc
binji: chrome/browser/ui/intents
bauerb: chrome/browser/plugins
finnur: chrome/browser/extensions
Done:
rdsmith: *
Review URL: https://chromiumcodereview.appspot.com/11068027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160971 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/webstore_installer.h b/chrome/browser/extensions/webstore_installer.h
index 2224305..1206406 100644
--- a/chrome/browser/extensions/webstore_installer.h
+++ b/chrome/browser/extensions/webstore_installer.h
@@ -14,7 +14,6 @@
#include "base/supports_user_data.h"
#include "base/values.h"
#include "content/public/browser/browser_thread.h"
-#include "content/public/browser/download_id.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -144,7 +143,7 @@
virtual ~WebstoreInstaller();
// DownloadManager::DownloadUrl callback.
- void OnDownloadStarted(content::DownloadId id, net::Error error);
+ void OnDownloadStarted(content::DownloadItem* item, net::Error error);
// DownloadItem::Observer implementation:
virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE;