chromium/content/browser/sms/user_consent_handler_unittest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/sms/user_consent_handler.h"

#include "base/functional/callback.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "content/browser/sms/test/mock_sms_web_contents_delegate.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/test/back_forward_cache_util.h"
#include "content/public/test/navigation_simulator.h"
#include "content/public/test/test_renderer_host.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

string;
_;
ByMove;
Invoke;
NiceMock;
Return;
StrictMock;
Origin;

namespace content {

namespace {

const char kTestUrl[] =;

class PromptBasedUserConsentHandlerTest : public RenderViewHostTestHarness {};

TEST_F(PromptBasedUserConsentHandlerTest, PromptsUser) {}

TEST_F(PromptBasedUserConsentHandlerTest, ConfirmInvokedCallback) {}

TEST_F(PromptBasedUserConsentHandlerTest, CancelingInvokedCallback) {}

TEST_F(PromptBasedUserConsentHandlerTest, CancelsWhenNoDelegate) {}

class PromptBasedUserConsentHandlerAlwaysAllowedTest
    : public PromptBasedUserConsentHandlerTest {};

TEST_F(PromptBasedUserConsentHandlerAlwaysAllowedTest, CancelsWhenInactiveRFH) {}

}  // namespace
}  // namespace content