#include "chrome/browser/ui/views/data_sharing/data_sharing_utils.h"
#include "base/token.h"
#include "chrome/browser/data_sharing/data_sharing_service_factory.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h"
#include "chrome/common/webui_url_constants.h"
#include "components/data_sharing/public/data_sharing_service.h"
#include "components/data_sharing/public/group_data.h"
#include "components/saved_tab_groups/saved_tab_group_tab.h"
#include "components/saved_tab_groups/tab_group_sync_service.h"
#include "components/tab_groups/tab_group_id.h"
#include "net/base/url_util.h"
std::optional<GURL> data_sharing::GenerateWebUIUrl(
std::variant<tab_groups::LocalTabGroupID, data_sharing::GroupToken>
request_info,
Profile* profile) { … }
void data_sharing::AssociateTabGroupWithGroupId(const std::string& tab_group_id,
const std::string& group_id,
Profile* profile) { … }
GURL data_sharing::GetShareLink(const std::string& group_id,
const std::string& access_token,
Profile* profile) { … }