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

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: A little cleanup Created 6 years, 9 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..051dd052b2d773a241318f586d6a2f19de372041 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,10 @@ class DownloadTestFileActivityObserver {
// this method was called.
bool TestAndResetDidShowFileChooser();
+ // Will set the danger type to UNCOMMON if the download is marked
+ // DANGEROUS_FILE.
+ void ChangeDangerTypeForFeedbackTest();
+
private:
class MockDownloadManagerDelegate;

Powered by Google App Engine
This is Rietveld 408576698