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

Unified Diff: chrome/browser/download/download_item.h

Issue 7065015: For downloads requiring a user gesture, also require... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: 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; }

Powered by Google App Engine
This is Rietveld 408576698