#ifndef CHROME_BROWSER_UI_VIEWS_DATA_SHARING_DATA_SHARING_UTILS_H_
#define CHROME_BROWSER_UI_VIEWS_DATA_SHARING_DATA_SHARING_UTILS_H_
#include "base/uuid.h"
#include "chrome/browser/profiles/profile.h"
#include "components/data_sharing/public/group_data.h"
#include "components/saved_tab_groups/types.h"
namespace data_sharing {
inline std::string_view kQueryParamFlow = …;
inline std::string_view kQueryParamGroupId = …;
inline std::string_view kQueryParamTokenSecret = …;
inline std::string_view kQueryParamTabGroupId = …;
inline std::string_view kFlowShare = …;
inline std::string_view kFlowJoin = …;
inline std::string_view kFlowManage = …;
std::optional<GURL> GenerateWebUIUrl(
std::variant<tab_groups::LocalTabGroupID, data_sharing::GroupToken>
request_info,
Profile* profile);
void AssociateTabGroupWithGroupId(const std::string& tab_group_id,
const std::string& group_id,
Profile* profile);
GURL GetShareLink(const std::string& group_id,
const std::string& access_token,
Profile* profile);
}
#endif