Index: content/public/common/quarantine.h |
diff --git a/content/public/common/quarantine.h b/content/public/common/quarantine.h |
index 5f28fb421ca5e7db2ef31c91b888f71efa446044..8295082f728b9fc30800204bd2753f28564346fe 100644 |
--- a/content/public/common/quarantine.h |
+++ b/content/public/common/quarantine.h |
@@ -101,6 +101,13 @@ CONTENT_EXPORT bool IsFileQuarantined(const base::FilePath& file, |
const GURL& source_url, |
const GURL& referrer_url); |
+// Determine if quarantining is supported. For exapmle, quarantining would not |
+// be supported on a linux system that disabled extended attributes or that uses |
+// tmpfs. |
+// |
+// Only to be used in tests. |
+CONTENT_EXPORT bool IsQuarantineSupportedForTesting(); |
+ |
} // namespace content |
#endif // CONTENT_PUBLIC_COMMON_QUARANTINE_H_ |