chromium/chrome/browser/profiles/batch_upload/batch_upload_controller.cc

// Copyright 2024 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/profiles/batch_upload/batch_upload_controller.h"

#include <algorithm>

#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "chrome/browser/profiles/batch_upload/batch_upload_data_provider.h"
#include "chrome/browser/profiles/batch_upload/batch_upload_delegate.h"

namespace {

// Data providers with no local data will be filtered out.
std::vector<raw_ptr<const BatchUploadDataProvider>>
GetOrderedListOfDataProvider(
    const base::flat_map<BatchUploadDataType,
                         std::unique_ptr<BatchUploadDataProvider>>&
        data_providers_map) {}

}  // namespace

BatchUploadController::BatchUploadController(
    base::flat_map<BatchUploadDataType,
                   std::unique_ptr<BatchUploadDataProvider>> data_providers)
    :{}

BatchUploadController::~BatchUploadController() = default;

bool BatchUploadController::ShowDialog(
    BatchUploadDelegate& delegate,
    Browser* browser,
    base::OnceCallback<void(bool)> done_callback) {}

void BatchUploadController::MoveItemsToAccountStorage(
    const base::flat_map<BatchUploadDataType,
                         std::vector<BatchUploadDataItemModel::Id>>&
        items_to_move) {}

bool BatchUploadController::HasLocalDataToShow() const {}