| Index: content/browser/download/quarantine.cc
|
| diff --git a/content/public/common/zygote_handle.h b/content/browser/download/quarantine.cc
|
| similarity index 32%
|
| copy from content/public/common/zygote_handle.h
|
| copy to content/browser/download/quarantine.cc
|
| index 9aa07c4245450e9ed6bba2f0c82aaf9a9d3937bb..06a1ca5e789f892143789f176a569bbd09f0668e 100644
|
| --- a/content/public/common/zygote_handle.h
|
| +++ b/content/browser/download/quarantine.cc
|
| @@ -2,22 +2,21 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_PUBLIC_COMMON_ZYGOTE_HANDLE_H_
|
| -#define CONTENT_PUBLIC_COMMON_ZYGOTE_HANDLE_H_
|
| -
|
| -#include <cstddef>
|
| +#include "content/browser/download/quarantine.h"
|
|
|
| #include "build/build_config.h"
|
|
|
| +#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX)
|
| +
|
| namespace content {
|
|
|
| -#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
|
| -class ZygoteCommunication;
|
| -using ZygoteHandle = ZygoteCommunication*;
|
| -#else
|
| -using ZygoteHandle = std::nullptr_t;
|
| -#endif
|
| +QuarantineFileResult QuarantineFile(const base::FilePath& file,
|
| + const GURL& source_url,
|
| + const GURL& referrer_url,
|
| + const std::string& client_guid) {
|
| + return QuarantineFileResult::OK;
|
| +}
|
|
|
| -} // namespace content
|
| +} // namespace content
|
|
|
| -#endif // CONTENT_PUBLIC_COMMON_ZYGOTE_HANDLE_H_
|
| +#endif // !WIN && !MAC && !LINUX
|
|
|