24 lines
683 B
C++
24 lines
683 B
C++
// Copyright 2013 The Chromium Authors
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
|
|
#define COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
|
|
|
|
#include <string>
|
|
|
|
class NaClValidationDB {
|
|
public:
|
|
NaClValidationDB() {}
|
|
|
|
NaClValidationDB(const NaClValidationDB&) = delete;
|
|
NaClValidationDB& operator=(const NaClValidationDB&) = delete;
|
|
|
|
virtual ~NaClValidationDB() {}
|
|
|
|
virtual bool QueryKnownToValidate(const std::string& signature) = 0;
|
|
virtual void SetKnownToValidate(const std::string& signature) = 0;
|
|
};
|
|
|
|
#endif // COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
|