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

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

Issue 10665049: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 76792a4be12aaaa5127b2a20a0df91fcefa995ca..160c80d7f954862806d864c3702e03043d7ec3f2 100644
--- a/chrome/browser/download/download_test_observer.h
+++ b/chrome/browser/download/download_test_observer.h
@@ -60,7 +60,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;
@@ -202,7 +202,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