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

Unified Diff: content/public/browser/download_item.h

Issue 26938003: Don't prompt to save malicious downloads on exit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed to only target Malicious (not Maybe-Malicious or Dangerous) files 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
Index: content/public/browser/download_item.h
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
index 5ef9597a05fd8c5c443141f1ede056f7828b7c88..3be820f998785e57dbf66a623dd4915e46b27861 100644
--- a/content/public/browser/download_item.h
+++ b/content/public/browser/download_item.h
@@ -323,6 +323,7 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
// Debug/testing -------------------------------------------------------------
virtual std::string DebugString(bool verbose) const = 0;
+ virtual void SetDangerType(DownloadDangerType danger_type) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698