| // Copyright 2012 The Chromium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "content/shell/common/shell_switches.h" | |
| #include "base/command_line.h" | |
| namespace switches { | |
| bool IsRunWebTestsSwitchPresent() { | |
| return base::CommandLine::ForCurrentProcess()->HasSwitch( | |
| switches::kRunWebTests); | |
| } | |
| } // namespace switches |