blob: ed670bc5dec238e59146c1b73962b20704c06222 [file] [log] [blame]
// 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_WEB_TEST_BROWSER_WEB_TEST_BROWSER_MAIN_RUNNER_H_
#define CONTENT_WEB_TEST_BROWSER_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_WEB_TEST_BROWSER_WEB_TEST_BROWSER_MAIN_RUNNER_H_