summaryrefslogtreecommitdiffstats
path: root/chrome/nacl/nacl_validation_db.h
blob: d1e5f207367bfba3c37e6dd91096f14110e27895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_NACL_NACL_VALIDATION_DB_H_
#define CHROME_NACL_NACL_VALIDATION_DB_H_
#pragma once

#include <string>

#include "base/basictypes.h"

class NaClValidationDB {
 public:
  NaClValidationDB() {}
  virtual ~NaClValidationDB() {}

  virtual bool QueryKnownToValidate(const std::string& signature) = 0;
  virtual void SetKnownToValidate(const std::string& signature) = 0;

 private:
  DISALLOW_COPY_AND_ASSIGN(NaClValidationDB);
};

#endif  // CHROME_NACL_NACL_VALIDATION_DB_H_