1 // Copyright 2016 The Chromium OS Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef LIBBRILLO_INSTALL_ATTRIBUTES_MOCK_INSTALL_ATTRIBUTES_READER_H_ 6 #define LIBBRILLO_INSTALL_ATTRIBUTES_MOCK_INSTALL_ATTRIBUTES_READER_H_ 7 8 #include "libinstallattributes.h" 9 10 #include "bindings/install_attributes.pb.h" 11 12 class MockInstallAttributesReader : public InstallAttributesReader { 13 public: 14 explicit MockInstallAttributesReader( 15 const cryptohome::SerializedInstallAttributes& install_attributes); 16 MockInstallAttributesReader(const std::string& device_mode, bool initialized); 17 }; 18 19 #endif // LIBBRILLO_INSTALL_ATTRIBUTES_MOCK_INSTALL_ATTRIBUTES_READER_H_ 20