| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/download/quarantine.h" | 5 #include "content/public/common/quarantine.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) | 9 #if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 | 12 |
| 13 QuarantineFileResult QuarantineFile(const base::FilePath& file, | 13 QuarantineFileResult QuarantineFile(const base::FilePath& file, |
| 14 const GURL& source_url, | 14 const GURL& source_url, |
| 15 const GURL& referrer_url, | 15 const GURL& referrer_url, |
| 16 const std::string& client_guid) { | 16 const std::string& client_guid) { |
| 17 return QuarantineFileResult::OK; | 17 return QuarantineFileResult::OK; |
| 18 } | 18 } |
| 19 | 19 |
| 20 } // namespace content | 20 bool IsFileQuarantined(const base::FilePath& file, |
| 21 const GURL& source_url, |
| 22 const GURL& referrer_url) { |
| 23 return false; |
| 24 } |
| 21 | 25 |
| 22 #endif // !WIN && !MAC && !LINUX | 26 } // namespace content |
| 27 |
| 28 #endif // !WIN && !MAC && !LINUX |
| OLD | NEW |