| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_NACL_NACL_VALIDATION_QUERY_H_ | 5 #ifndef COMPONENTS_NACL_LOADER_NACL_VALIDATION_QUERY_H_ |
| 6 #define CHROME_NACL_NACL_VALIDATION_QUERY_H_ | 6 #define COMPONENTS_NACL_LOADER_NACL_VALIDATION_QUERY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/strings/string_piece.h" | 11 #include "base/strings/string_piece.h" |
| 12 #include "crypto/hmac.h" | 12 #include "crypto/hmac.h" |
| 13 | 13 |
| 14 struct NaClFileToken; | 14 struct NaClFileToken; |
| 15 struct NaClValidationCache; | 15 struct NaClValidationCache; |
| 16 class NaClValidationDB; | 16 class NaClValidationDB; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 size_t buffer_length_; | 84 size_t buffer_length_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(NaClValidationQuery); | 86 DISALLOW_COPY_AND_ASSIGN(NaClValidationQuery); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 // Create a validation cache interface for use by sel_ldr. | 89 // Create a validation cache interface for use by sel_ldr. |
| 90 struct NaClValidationCache* CreateValidationCache( | 90 struct NaClValidationCache* CreateValidationCache( |
| 91 NaClValidationDB* db, const std::string& profile_key, | 91 NaClValidationDB* db, const std::string& profile_key, |
| 92 const std::string& nacl_version); | 92 const std::string& nacl_version); |
| 93 | 93 |
| 94 #endif // CHROME_NACL_NACL_VALIDATION_QUERY_H_ | 94 #endif // COMPONENTS_NACL_LOADER_NACL_VALIDATION_QUERY_H_ |
| OLD | NEW |