blob: 14d2198d06e7f84a22ac1f1fc1be1073374a6d7e [file] [log] [blame]
// Copyright 2020 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 CONTENT_BROWSER_SMS_TEST_MOCK_USER_CONSENT_HANDLER_H_
#define CONTENT_BROWSER_SMS_TEST_MOCK_USER_CONSENT_HANDLER_H_
#include "content/browser/sms/user_consent_handler.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace content {
class MockUserConsentHandler : public UserConsentHandler {
public:
MockUserConsentHandler();
~MockUserConsentHandler();
MOCK_METHOD(void,
RequestUserConsent,
(const std::string& one_time_code,
CompletionCallback on_complete),
(override));
MOCK_METHOD(bool, is_active, (), (const, override));
MOCK_METHOD(bool, is_async, (), (const, override));
};
} // namespace content
#endif // CONTENT_BROWSER_SMS_TEST_MOCK_USER_CONSENT_HANDLER_H_