chromium/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc

// Copyright 2014 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/extensions/api/image_writer_private/image_writer_utility_client.h"

#include <optional>
#include <utility>

#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "build/build_config.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/services/removable_storage_writer/public/mojom/removable_storage_writer.mojom.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/service_process_host.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "ui/base/l10n/l10n_util.h"

namespace extensions {
namespace image_writer {

namespace {

ImageWriterUtilityClient::ImageWriterUtilityClientFactory*
    g_factory_for_testing =;

void DeleteRemote(mojo::Remote<chrome::mojom::RemovableStorageWriter> writer) {}

}  // namespace

class ImageWriterUtilityClient::RemovableStorageWriterClientImpl
    : public chrome::mojom::RemovableStorageWriterClient {};

ImageWriterUtilityClient::ImageWriterUtilityClient(
    const scoped_refptr<base::SequencedTaskRunner>& task_runner)
    :{}

ImageWriterUtilityClient::~ImageWriterUtilityClient() {}

// static
scoped_refptr<ImageWriterUtilityClient> ImageWriterUtilityClient::Create(
    const scoped_refptr<base::SequencedTaskRunner>& task_runner) {}

// static
void ImageWriterUtilityClient::SetFactoryForTesting(
    ImageWriterUtilityClientFactory* factory) {}

void ImageWriterUtilityClient::Write(ProgressCallback progress_callback,
                                     SuccessCallback success_callback,
                                     ErrorCallback error_callback,
                                     const base::FilePath& source,
                                     const base::FilePath& target) {}

void ImageWriterUtilityClient::Verify(ProgressCallback progress_callback,
                                      SuccessCallback success_callback,
                                      ErrorCallback error_callback,
                                      const base::FilePath& source,
                                      const base::FilePath& target) {}

void ImageWriterUtilityClient::Cancel(CancelCallback cancel_callback) {}

void ImageWriterUtilityClient::Shutdown() {}

void ImageWriterUtilityClient::BindServiceIfNeeded() {}

void ImageWriterUtilityClient::OnConnectionError() {}

void ImageWriterUtilityClient::OperationProgress(int64_t progress) {}

void ImageWriterUtilityClient::OperationSucceeded() {}

void ImageWriterUtilityClient::OperationFailed(const std::string& error) {}

void ImageWriterUtilityClient::ResetRequest() {}

}  // namespace image_writer
}  // namespace extensions