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

Unified Diff: content/common/quarantine/quarantine_win.cc

Issue 2618083002: Disable Quarantine tests on platforms its not supported. (Closed)
Patch Set: Created 3 years, 11 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: content/common/quarantine/quarantine_win.cc
diff --git a/content/common/quarantine/quarantine_win.cc b/content/common/quarantine/quarantine_win.cc
index 91eecc75e02d415468a2c53a52e3610f94d28c2a..53a3d9fab6d33dca1f3be61fa4faf4c6f624de48 100644
--- a/content/common/quarantine/quarantine_win.cc
+++ b/content/common/quarantine/quarantine_win.cc
@@ -348,4 +348,9 @@ bool IsFileQuarantined(const base::FilePath& file,
return ZoneIdentifierPresentForFile(file);
}
+// Only to be used in tests.
+bool IsQuarantineSupportedForTesting() {
+ return true;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698