blob: fd527657e7100b4e84cc265e69100a772a6ff373 [file] [log] [blame]
// Copyright 2019 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 WEBLAYER_TEST_WEBLAYER_BROWSER_TEST_H_
#define WEBLAYER_TEST_WEBLAYER_BROWSER_TEST_H_
#include "base/macros.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_base.h"
namespace weblayer {
class Shell;
class WebLayerBrowserTest : public content::BrowserTestBase {
public:
WebLayerBrowserTest();
~WebLayerBrowserTest() override;
// content::BrowserTestBase implementation.
void SetUp() override;
void PreRunTestOnMainThread() override;
void PostRunTestOnMainThread() override;
// Returns the window for the test.
Shell* shell() const { return shell_; }
private:
Shell* shell_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(WebLayerBrowserTest);
};
} // namespace weblayer
#endif // WEBLAYER_TEST_WEBLAYER_BROWSER_TEST_H_