Files
brave-core/test/base/brave_test_launcher_delegate.h
T
Simon Hong 6ed2120dbf Use BraveMainDelegate for brave_browser_tests
So far, ChromeMainDelegate is used.
2018-06-05 18:26:24 +09:00

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_