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

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

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.h
diff --git a/content/public/test/download_test_observer.h b/content/public/test/download_test_observer.h
index e8e42d46537183f33e287a9543cda5c257a21746..854d34d883eda63708100b8f8f76b41ecb456581 100644
--- a/content/public/test/download_test_observer.h
+++ b/content/public/test/download_test_observer.h
@@ -67,7 +67,8 @@ class DownloadTestObserver : public DownloadManager::Observer,
enum DangerousDownloadAction {
ON_DANGEROUS_DOWNLOAD_ACCEPT, // Accept the download
ON_DANGEROUS_DOWNLOAD_DENY, // Deny the download
- ON_DANGEROUS_DOWNLOAD_FAIL // Fail if a dangerous download is seen
+ ON_DANGEROUS_DOWNLOAD_FAIL, // Fail if a dangerous download is seen
+ ON_DANGEROUS_DOWNLOAD_IGNORE // Make it the callers problem.
};
// Create an object that will be considered finished when |wait_count|

Powered by Google App Engine
This is Rietveld 408576698