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 <string> 9 10 #include "libinstallattributes.h" 11 12 #include "bindings/install_attributes.pb.h" 13 14 class MockInstallAttributesReader : public InstallAttributesReader { 15 public: 16 explicit MockInstallAttributesReader( 17 const cryptohome::SerializedInstallAttributes& install_attributes); 18 MockInstallAttributesReader(const std::string& device_mode, bool initialized); 19 }; 20 21 #endif // LIBBRILLO_INSTALL_ATTRIBUTES_MOCK_INSTALL_ATTRIBUTES_READER_H_ 22