blob: 46dfb7e71f4b45dbab58511e5714cd8b18356ff8 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COBALT_UPDATER_UNZIPPER_H_
#define COBALT_UPDATER_UNZIPPER_H_
#include <memory>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "components/update_client/unzipper.h"
namespace cobalt {
namespace updater {
class UnzipperFactory : public update_client::UnzipperFactory {
public:
UnzipperFactory();
std::unique_ptr<update_client::Unzipper> Create() const override;
protected:
~UnzipperFactory() override;
private:
DISALLOW_COPY_AND_ASSIGN(UnzipperFactory);
};
} // namespace updater
} // namespace cobalt
#endif // COBALT_UPDATER_UNZIPPER_H_