Index: chrome/browser/download/download_item.h |
=================================================================== |
--- chrome/browser/download/download_item.h (revision 86341) |
+++ chrome/browser/download/download_item.h (working copy) |
@@ -277,7 +277,9 @@ |
// Why |safety_state_| is not SAFE. |
DangerType GetDangerType() const; |
bool IsDangerous() const; |
- void MarkUrlDangerous(); |
+ void SetFileDangerous(bool dangerous); |
Randy Smith (Not in Mondays)
2011/05/24 18:28:25
This accessor doesn't look like it's used outside
Peter Kasting
2011/05/24 20:55:00
You're right that it's only used in tests, but how
Randy Smith (Not in Mondays)
2011/05/24 21:48:56
You could use SetFileCheckResults based on a Downl
|
+ void SetUrlDangerous(bool dangerous); |
Randy Smith (Not in Mondays)
2011/05/24 18:28:25
This may be an area where we disagree, but I'm try
|
+ void SetVisitedBefore(bool visited_referrer_before); |
Randy Smith (Not in Mondays)
2011/05/24 18:28:25
Similarly, could you drop the argument and just ca
|
bool auto_opened() { return auto_opened_; } |
FilePath target_name() const { return state_info_.target_name; } |