nacl_validation_db.h 705 B

1234567891011121314151617181920212223
  1. // Copyright 2013 The Chromium 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. #ifndef COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
  5. #define COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
  6. #include <string>
  7. class NaClValidationDB {
  8. public:
  9. NaClValidationDB() {}
  10. NaClValidationDB(const NaClValidationDB&) = delete;
  11. NaClValidationDB& operator=(const NaClValidationDB&) = delete;
  12. virtual ~NaClValidationDB() {}
  13. virtual bool QueryKnownToValidate(const std::string& signature) = 0;
  14. virtual void SetKnownToValidate(const std::string& signature) = 0;
  15. };
  16. #endif // COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_