quarantine.cc 739 B

1234567891011121314151617181920212223
  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
  3. // found in the LICENSE file.
  4. #include "components/services/quarantine/quarantine.h"
  5. #include "build/build_config.h"
  6. #if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_CHROMEOS)
  7. namespace quarantine {
  8. void QuarantineFile(const base::FilePath& file,
  9. const GURL& source_url,
  10. const GURL& referrer_url,
  11. const std::string& client_guid,
  12. mojom::Quarantine::QuarantineFileCallback callback) {
  13. std::move(callback).Run(QuarantineFileResult::OK);
  14. }
  15. } // namespace quarantine
  16. #endif // !WIN && !MAC && !CHROMEOS