25 lines
842 B
C++
25 lines
842 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef BRAVE_TEST_BASE_BRAVE_TEST_LAUNCHER_H_
|
|
#define BRAVE_TEST_BASE_BRAVE_TEST_LAUNCHER_H_
|
|
|
|
#include "chrome/test/base/chrome_test_launcher.h"
|
|
#include "base/macros.h"
|
|
|
|
class BraveTestLauncherDelegate : public ChromeTestLauncherDelegate {
|
|
public:
|
|
// Does not take ownership of ChromeTestSuiteRunner.
|
|
explicit BraveTestLauncherDelegate(ChromeTestSuiteRunner* runner);
|
|
~BraveTestLauncherDelegate() override;
|
|
|
|
private:
|
|
// ChromeLauncherDelegate:
|
|
content::ContentMainDelegate* CreateContentMainDelegate() override;
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(BraveTestLauncherDelegate);
|
|
};
|
|
|
|
#endif // BRAVE_TEST_BASE_BRAVE_TEST_LAUNCHER_H_
|