OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 COMPONENTS_NACL_BROWSER_NACL_VALIDATION_CACHE_H_ | 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_VALIDATION_CACHE_H_ |
6 #define COMPONENTS_NACL_BROWSER_NACL_VALIDATION_CACHE_H_ | 6 #define COMPONENTS_NACL_BROWSER_NACL_VALIDATION_CACHE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/containers/mru_cache.h" | 12 #include "base/containers/mru_cache.h" |
| 13 #include "base/macros.h" |
11 | 14 |
12 namespace base { | 15 namespace base { |
13 class Pickle; | 16 class Pickle; |
14 } | 17 } |
15 | 18 |
16 namespace nacl { | 19 namespace nacl { |
17 | 20 |
18 class NaClValidationCache { | 21 class NaClValidationCache { |
19 public: | 22 public: |
20 NaClValidationCache(); | 23 NaClValidationCache(); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ValidationCacheType validation_cache_; | 64 ValidationCacheType validation_cache_; |
62 | 65 |
63 std::string validation_cache_key_; | 66 std::string validation_cache_key_; |
64 | 67 |
65 DISALLOW_COPY_AND_ASSIGN(NaClValidationCache); | 68 DISALLOW_COPY_AND_ASSIGN(NaClValidationCache); |
66 }; | 69 }; |
67 | 70 |
68 } // namespace nacl | 71 } // namespace nacl |
69 | 72 |
70 #endif // COMPONENTS_NACL_BROWSER_NACL_VALIDATION_CACHE_H_ | 73 #endif // COMPONENTS_NACL_BROWSER_NACL_VALIDATION_CACHE_H_ |
OLD | NEW |