Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / nacl / loader / nacl_validation_db.h
blob87d03246357c0f50df285359e8bc120dcc0c2235
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.
5 #ifndef COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
6 #define COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_
8 #include <string>
10 #include "base/basictypes.h"
12 class NaClValidationDB {
13 public:
14 NaClValidationDB() {}
15 virtual ~NaClValidationDB() {}
17 virtual bool QueryKnownToValidate(const std::string& signature) = 0;
18 virtual void SetKnownToValidate(const std::string& signature) = 0;
20 private:
21 DISALLOW_COPY_AND_ASSIGN(NaClValidationDB);
24 #endif // COMPONENTS_NACL_LOADER_NACL_VALIDATION_DB_H_