#ifndef COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
#define COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
#include <string>
#include "base/basictypes.h"
struct NaClFileToken;
class NaClValidationDB {
public:
NaClValidationDB() {}
virtual ~NaClValidationDB() {}
virtual bool QueryKnownToValidate(const std::string& signature) = 0;
virtual void SetKnownToValidate(const std::string& signature) = 0;
virtual bool ResolveFileToken(struct NaClFileToken* file_token,
int32* fd, std::string* path) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(NaClValidationDB);
};
#endif