Index: chrome/browser/download/notification/download_notification_browsertest.cc |
diff --git a/chrome/browser/download/notification/download_notification_browsertest.cc b/chrome/browser/download/notification/download_notification_browsertest.cc |
index 6d08b3f26f9c220ce82c50cb8a3b482787034884..b6578d400f0577d2fc0a8b0b6c330bae6ff3407d 100644 |
--- a/chrome/browser/download/notification/download_notification_browsertest.cc |
+++ b/chrome/browser/download/notification/download_notification_browsertest.cc |
@@ -230,6 +230,13 @@ class TestChromeDownloadManagerDelegate : public ChromeDownloadManagerDelegate { |
// Return if the download is opened. |
bool opened() const { return opened_; } |
+ protected: |
+ // Disable DownloadProtectionService in order to disable content checking. |
Nathan Parker
2015/10/21 21:10:39
Is this necessary just on ChromOS, or everywhere?
Jialiu Lin
2015/10/22 01:38:54
Just for ChromeOS. In fact, this browsertest, as w
|
+ safe_browsing::DownloadProtectionService* GetDownloadProtectionService() |
+ override { |
+ return nullptr; |
+ } |
+ |
private: |
bool opened_; |
}; |