blob: a85a6a24d80b8071be3a7f3ae5be1beb1c4c5f87 [file] [log] [blame] [edit]
// Copyright 2020 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "update_engine/common/excluder_stub.h"
#include <memory>
#include "update_engine/common/prefs_interface.h"
using std::string;
namespace chromeos_update_engine {
std::unique_ptr<ExcluderInterface> CreateExcluder() {
return std::make_unique<ExcluderStub>();
}
bool ExcluderStub::Exclude(const string& name) {
return true;
}
bool ExcluderStub::IsExcluded(const string& name) {
return false;
}
bool ExcluderStub::Reset() {
return true;
}
} // namespace chromeos_update_engine