chromium/chrome/browser/sync_file_system/drive_backend/folder_creator.cc

// Copyright 2013 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/sync_file_system/drive_backend/folder_creator.h"

#include <stddef.h>
#include <utility>

#include "base/functional/bind.h"
#include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
#include "components/drive/drive_api_util.h"
#include "components/drive/service/drive_service_interface.h"
#include "google_apis/drive/drive_api_parser.h"

namespace drive {
class DriveServiceInterface;
class DriveUploaderInterface;
}  // namespace drive

namespace sync_file_system {
namespace drive_backend {

FolderCreator::FolderCreator(drive::DriveServiceInterface* drive_service,
                             MetadataDatabase* metadata_database,
                             const std::string& parent_folder_id,
                             const std::string& title)
    :{}

FolderCreator::~FolderCreator() = default;

void FolderCreator::Run(FileIDCallback callback) {}

void FolderCreator::DidCreateFolder(
    FileIDCallback callback,
    google_apis::ApiErrorCode error,
    std::unique_ptr<google_apis::FileResource> entry) {}

void FolderCreator::DidListFolders(
    FileIDCallback callback,
    std::vector<std::unique_ptr<google_apis::FileResource>> candidates,
    google_apis::ApiErrorCode error,
    std::unique_ptr<google_apis::FileList> file_list) {}

}  // namespace drive_backend
}  // namespace sync_file_system