blob: f301d1bd9dc3c385559c8bdd382e6db9424f2afc [file]
// Copyright 2014 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.
#ifndef CONTENT_SHELL_BROWSER_WEB_TEST_WEB_TEST_BROWSER_MAIN_RUNNER_H_
#define CONTENT_SHELL_BROWSER_WEB_TEST_WEB_TEST_BROWSER_MAIN_RUNNER_H_
#include "base/files/scoped_temp_dir.h"
namespace content {
struct MainFunctionParams;
class WebTestBrowserMainRunner {
public:
// Run at the beginning of startup, before any child processes (including the
// renderer zygote) are launched. Any command line flags should be set in
// here.
void Initialize();
// Main routine for running as the Browser process.
void RunBrowserMain(const content::MainFunctionParams& parameters);
private:
base::ScopedTempDir browser_context_path_for_web_tests_;
};
} // namespace content
#endif // CONTENT_SHELL_BROWSER_WEB_TEST_WEB_TEST_BROWSER_MAIN_RUNNER_H_