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

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

Issue 26938003: Don't prompt to save malicious downloads on exit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unneeded code Created 7 years, 2 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
« no previous file with comments | « content/public/browser/download_manager.h ('k') | content/public/test/download_test_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5bc39fe0087bc70b6bed17eb3ab1c6c211641c39..15a055dfd56f0a10d401c7db12c3742fb552addf 100644
--- a/content/public/test/download_test_observer.h
+++ b/content/public/test/download_test_observer.h
@@ -64,7 +64,8 @@ class DownloadTestObserver : public DownloadManager::Observer,
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_IGNORE // Make it the callers problem.
+ ON_DANGEROUS_DOWNLOAD_IGNORE, // Make it the callers problem.
+ ON_DANGEROUS_DOWNLOAD_QUIT // Will set final state without decision.
};
// Create an object that will be considered finished when |wait_count|
« no previous file with comments | « content/public/browser/download_manager.h ('k') | content/public/test/download_test_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698