chromium/components/download/internal/background_service/logger_impl.h

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

#ifndef COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_LOGGER_IMPL_H_
#define COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_LOGGER_IMPL_H_

#include <memory>

#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "components/download/internal/background_service/constants.h"
#include "components/download/internal/background_service/log_sink.h"
#include "components/download/public/background_service/download_params.h"
#include "components/download/public/background_service/logger.h"

namespace base {
class Value;
}

namespace download {

class LogSource;
struct Entry;

// The internal Logger implementation.  Note that this Logger will not do any
// actual work in response to LogSink requests if there are no Observers
// registered.  Any calls to the Logger API will still be honored though.
class LoggerImpl : public Logger, public LogSink {};

}  // namespace download

#endif  // COMPONENTS_DOWNLOAD_INTERNAL_BACKGROUND_SERVICE_LOGGER_IMPL_H_