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

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

Issue 197883010: Add browsertest for the feedback service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Passing tests Created 6 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_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;

Powered by Google App Engine
This is Rietveld 408576698