#include "components/viz/service/gl/gpu_service_impl.h"
#include <memory>
#include <tuple>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/weak_ptr.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "gpu/config/gpu_info.h"
#include "gpu/ipc/service/gpu_watchdog_thread.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/viz/public/mojom/gpu.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gl/gl_utils.h"
#include "ui/gl/init/gl_factory.h"
namespace viz {
class GpuServiceTest : public testing::Test { … };
TEST_F(GpuServiceTest, ServiceDestroyedBeforeBind) { … }
TEST_F(GpuServiceTest, ServiceDestroyedAfterBind) { … }
TEST_F(GpuServiceTest, LoseAllContexts) { … }
TEST_F(GpuServiceTest, VisibilityCallbackCalled) { … }
}