Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / base / test_launcher_utils.h
blob24bd23db5d47e015c3e114ce2c026aab6215dcf8
1 // Copyright (c) 2011 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.
5 #ifndef CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_
6 #define CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_
8 #include <string>
10 #include "base/compiler_specific.h"
11 #include "base/files/file_path.h"
13 namespace base {
14 class CommandLine;
17 // A set of utilities for test code that launches separate processes.
18 namespace test_launcher_utils {
20 // Appends browser switches to provided |command_line| to be used
21 // when running under tests.
22 void PrepareBrowserCommandLineForTests(base::CommandLine* command_line);
24 // Overrides the current process' user data dir.
25 bool OverrideUserDataDir(
26 const base::FilePath& user_data_dir) WARN_UNUSED_RESULT;
28 } // namespace test_launcher_utils
30 #endif // CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_