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

Unified Diff: content/public/test/download_test_observer.cc

Issue 11363222: Persist download interrupt reason, both target and current paths, and url_chain. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added binary files based on c#37 Created 7 years, 11 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: content/public/test/download_test_observer.cc
diff --git a/content/public/test/download_test_observer.cc b/content/public/test/download_test_observer.cc
index 19bbb45f66ee2e7abd201014614e39c8a2ae4837..6a0504efea8cf4fb8c6b514e81af0f6b6ba3016c 100644
--- a/content/public/test/download_test_observer.cc
+++ b/content/public/test/download_test_observer.cc
@@ -188,6 +188,9 @@ void DownloadTestObserver::OnDownloadUpdated(DownloadItem* download) {
ADD_FAILURE() << "Unexpected dangerous download item.";
break;
+ case ON_DANGEROUS_DOWNLOAD_IGNORE:
+ break;
+
default:
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698