xref: /aosp_15_r20/external/cronet/components/nacl/loader/nacl_validation_db.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2013 The Chromium Authors
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 COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
6 #define COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
7 
8 #include <string>
9 
10 class NaClValidationDB {
11  public:
NaClValidationDB()12   NaClValidationDB() {}
13 
14   NaClValidationDB(const NaClValidationDB&) = delete;
15   NaClValidationDB& operator=(const NaClValidationDB&) = delete;
16 
~NaClValidationDB()17   virtual ~NaClValidationDB() {}
18 
19   virtual bool QueryKnownToValidate(const std::string& signature) = 0;
20   virtual void SetKnownToValidate(const std::string& signature) = 0;
21 };
22 
23 #endif  // COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
24