#include "components/sharing_message/fake_sharing_handler_registry.h"
#include "base/notreached.h"
#include "components/sharing_message/sharing_message_handler.h"
FakeSharingHandlerRegistry::FakeSharingHandlerRegistry() = default;
FakeSharingHandlerRegistry::~FakeSharingHandlerRegistry() = default;
SharingMessageHandler* FakeSharingHandlerRegistry::GetSharingHandler(
components_sharing_message::SharingMessage::PayloadCase payload_case) { … }
void FakeSharingHandlerRegistry::RegisterSharingHandler(
std::unique_ptr<SharingMessageHandler> handler,
components_sharing_message::SharingMessage::PayloadCase payload_case) { … }
void FakeSharingHandlerRegistry::UnregisterSharingHandler(
components_sharing_message::SharingMessage::PayloadCase payload_case) { … }
void FakeSharingHandlerRegistry::SetSharingHandler(
components_sharing_message::SharingMessage::PayloadCase payload_case,
SharingMessageHandler* handler) { … }