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

Unified Diff: content/common/quarantine/quarantine_mac.mm

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_mac.mm
diff --git a/content/common/quarantine/quarantine_mac.mm b/content/common/quarantine/quarantine_mac.mm
index c407233d5938269bfad4fea7fae810f66a1158f9..a19337620932e62eb7c4d110b97e94e49e32d143 100644
--- a/content/common/quarantine/quarantine_mac.mm
+++ b/content/common/quarantine/quarantine_mac.mm
@@ -344,4 +344,9 @@ bool IsFileQuarantined(const base::FilePath& file,
isEqualToString:base::SysUTF8ToNSString(referrer_url.spec())];
}
+// Only to be used in tests.
+bool IsQuarantineSupportedForTesting() {
+ return true;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698