chromium/chrome/browser/ui/tabs/organization/tab_organization_request.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/tabs/organization/tab_organization_request.h"

#include <memory>
#include <string>

#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "base/metrics/histogram_macros.h"
#include "chrome/browser/ui/tabs/organization/tab_data.h"

GroupData::GroupData(tab_groups::TabGroupId id_,
                     std::u16string label_,
                     std::vector<std::unique_ptr<TabData>> tabs_)
    :{}

GroupData::~GroupData() = default;

TabOrganizationResponse::Organization::Organization(
    std::u16string label_,
    std::vector<TabData::TabID> tab_ids_,
    std::optional<tab_groups::TabGroupId> group_id_,
    std::optional<TabOrganization::ID> organization_id_)
    :{}

TabOrganizationResponse::Organization::Organization(
    const Organization& organization) = default;

TabOrganizationResponse::Organization::Organization(
    Organization&& organization) = default;

TabOrganizationResponse::Organization::~Organization() = default;

TabOrganizationResponse::TabOrganizationResponse(
    std::vector<TabOrganizationResponse::Organization> organizations_,
    std::u16string feedback_id_,
    LogResultsCallback log_results_callback_)
    :{}

TabOrganizationResponse::~TabOrganizationResponse() = default;

int TabOrganizationResponse::GetTabCount() {}

TabOrganizationRequest::TabOrganizationRequest(
    BackendStartRequest backend_start_request_lambda,
    BackendCancelRequest backend_cancel_request_lambda)
    :{}

TabOrganizationRequest::~TabOrganizationRequest() {}

void TabOrganizationRequest::SetResponseCallback(OnResponseCallback callback) {}

TabData* TabOrganizationRequest::AddTabData(std::unique_ptr<TabData> tab_data) {}

void TabOrganizationRequest::AddGroupData(
    tab_groups::TabGroupId id,
    std::u16string label,
    std::vector<std::unique_ptr<TabData>> tabs) {}

void TabOrganizationRequest::StartRequest() {}

void TabOrganizationRequest::CompleteRequest(
    std::unique_ptr<TabOrganizationResponse> response) {}

void TabOrganizationRequest::FailRequest() {}

void TabOrganizationRequest::CancelRequest() {}

void TabOrganizationRequest::LogResults(const TabOrganizationSession* session) {}