Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1114)

Unified Diff: chrome/browser/download/download_test_observer.h

Issue 10704026: Reland DownloadItem::Observer::OnDownloadDestroyed() replaces DownloadItem::REMOVING (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_test_observer.h
diff --git a/chrome/browser/download/download_test_observer.h b/chrome/browser/download/download_test_observer.h
index d8ea6850689aa20edba9c6bbbd2cc2789553ce0e..b7418dc8f56a168446beb6322f7b76a86e5a3fba 100644
--- a/chrome/browser/download/download_test_observer.h
+++ b/chrome/browser/download/download_test_observer.h
@@ -62,7 +62,7 @@ class DownloadTestObserver : public content::DownloadManager::Observer,
// content::DownloadItem::Observer
virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE;
- virtual void OnDownloadOpened(content::DownloadItem* download) OVERRIDE {}
+ virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE;
// content::DownloadManager::Observer
virtual void ModelChanged(content::DownloadManager* manager) OVERRIDE;
@@ -216,7 +216,7 @@ class DownloadTestFlushObserver
// DownloadItem observer methods.
virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE;
- virtual void OnDownloadOpened(content::DownloadItem* download) OVERRIDE {}
+ virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE;
protected:
friend class base::RefCountedThreadSafe<DownloadTestFlushObserver>;

Powered by Google App Engine
This is Rietveld 408576698