blob: 24bd23db5d47e015c3e114ce2c026aab6215dcf8 [file] [log] [blame]
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
namespace base {
class CommandLine;
// A set of utilities for test code that launches separate processes.
namespace test_launcher_utils {
// Appends browser switches to provided |command_line| to be used
// when running under tests.
void PrepareBrowserCommandLineForTests(base::CommandLine* command_line);
// Overrides the current process' user data dir.
bool OverrideUserDataDir(
const base::FilePath& user_data_dir) WARN_UNUSED_RESULT;
} // namespace test_launcher_utils