#include "chrome/browser/ui/webui/data_sharing_internals/data_sharing_internals_page_handler_impl.h"
namespace {
data_sharing::mojom::MemberRole MemberRoleToRoleType(
data_sharing::MemberRole member_role) { … }
}
DataSharingInternalsPageHandlerImpl::DataSharingInternalsPageHandlerImpl(
mojo::PendingReceiver<data_sharing_internals::mojom::PageHandler> receiver,
mojo::PendingRemote<data_sharing_internals::mojom::Page> page,
data_sharing::DataSharingService* data_sharing_service)
: … { … }
DataSharingInternalsPageHandlerImpl::~DataSharingInternalsPageHandlerImpl() =
default;
void DataSharingInternalsPageHandlerImpl::IsEmptyService(
IsEmptyServiceCallback callback) { … }
void DataSharingInternalsPageHandlerImpl::GetAllGroups(
GetAllGroupsCallback callback) { … }
void DataSharingInternalsPageHandlerImpl::OnGetAllGroupsDone(
GetAllGroupsCallback callback,
const data_sharing::DataSharingService::GroupsDataSetOrFailureOutcome&
group_result) { … }