1 // Copyright 2019 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 5 #ifndef CHROME_CHROME_CLEANER_ENGINES_TARGET_SANDBOX_SETUP_H_ 6 #define CHROME_CHROME_CLEANER_ENGINES_TARGET_SANDBOX_SETUP_H_ 7 8 #include "base/command_line.h" 9 #include "base/memory/ref_counted.h" 10 #include "chrome/chrome_cleaner/engines/target/engine_delegate.h" 11 #include "components/chrome_cleaner/public/constants/result_codes.h" 12 #include "sandbox/win/src/sandbox.h" 13 14 namespace chrome_cleaner { 15 16 ResultCode RunEngineSandboxTarget( 17 scoped_refptr<EngineDelegate> engine_delegate, 18 const base::CommandLine& command_line, 19 sandbox::TargetServices* sandbox_target_services); 20 21 } // namespace chrome_cleaner 22 23 #endif // CHROME_CHROME_CLEANER_ENGINES_TARGET_SANDBOX_SETUP_H_ 24