blob: e6b9c00620809c163ac8b114c2c0603a871762e0 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/windows_services/service_program/is_running_unattended.h"
#include "base/command_line.h"
#include "chrome/windows_services/service_program/switches.h"
namespace internal {
bool IsRunningUnattended() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kUnattendedTest);
}
} // namespace internal