Chromium Code Reviews| Index: chrome/browser/download/download_test_file_activity_observer.h |
| diff --git a/chrome/browser/download/download_test_file_activity_observer.h b/chrome/browser/download/download_test_file_activity_observer.h |
| index 28e07d8551188b37129a8b0090e3f6e239ba7f75..c29e2f3968957a70d984b1eeada7819c5d4c265f 100644 |
| --- a/chrome/browser/download/download_test_file_activity_observer.h |
| +++ b/chrome/browser/download/download_test_file_activity_observer.h |
| @@ -6,6 +6,7 @@ |
| #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TEST_FILE_ACTIVITY_OBSERVER_H_ |
| #include "base/memory/weak_ptr.h" |
| +#include "content/public/browser/download_danger_type.h" |
| class Profile; |
| @@ -31,6 +32,11 @@ class DownloadTestFileActivityObserver { |
| // this method was called. |
| bool TestAndResetDidShowFileChooser(); |
| + // Will set the danger type to |danger_type} for all dangerous files as long |
|
asanka
2014/06/05 19:20:13
Nit: |danger_type|
|
| + // as |mark_downloads_dangerous| is true. |
| + void SetDangerTypeForNewDownloads(bool mark_downloads_dangerous, |
| + content::DownloadDangerType danger_type); |
| + |
| private: |
| class MockDownloadManagerDelegate; |