android13/external/libbrillo/install_attributes/mock_install_attributes_rea...

22 lines
762 B
C++

// Copyright 2016 The Chromium OS 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 LIBBRILLO_INSTALL_ATTRIBUTES_MOCK_INSTALL_ATTRIBUTES_READER_H_
#define LIBBRILLO_INSTALL_ATTRIBUTES_MOCK_INSTALL_ATTRIBUTES_READER_H_
#include <string>
#include "libinstallattributes.h"
#include "bindings/install_attributes.pb.h"
class MockInstallAttributesReader : public InstallAttributesReader {
public:
explicit MockInstallAttributesReader(
const cryptohome::SerializedInstallAttributes& install_attributes);
MockInstallAttributesReader(const std::string& device_mode, bool initialized);
};
#endif // LIBBRILLO_INSTALL_ATTRIBUTES_MOCK_INSTALL_ATTRIBUTES_READER_H_