OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_CONTENT_HASH_READER_H_ | 5 #ifndef EXTENSIONS_BROWSER_CONTENT_HASH_READER_H_ |
6 #define EXTENSIONS_BROWSER_CONTENT_HASH_READER_H_ | 6 #define EXTENSIONS_BROWSER_CONTENT_HASH_READER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/version.h" | 15 #include "base/version.h" |
15 #include "extensions/browser/content_verifier_delegate.h" | 16 #include "extensions/browser/content_verifier_delegate.h" |
16 | 17 |
17 namespace extensions { | 18 namespace extensions { |
18 | 19 |
19 class VerifiedContents; | 20 class VerifiedContents; |
20 | 21 |
21 // This class creates an object that will read expected hashes that may have | 22 // This class creates an object that will read expected hashes that may have |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 scoped_ptr<VerifiedContents> verified_contents_; | 85 scoped_ptr<VerifiedContents> verified_contents_; |
85 | 86 |
86 std::vector<std::string> hashes_; | 87 std::vector<std::string> hashes_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(ContentHashReader); | 89 DISALLOW_COPY_AND_ASSIGN(ContentHashReader); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace extensions | 92 } // namespace extensions |
92 | 93 |
93 #endif // EXTENSIONS_BROWSER_CONTENT_HASH_READER_H_ | 94 #endif // EXTENSIONS_BROWSER_CONTENT_HASH_READER_H_ |
OLD | NEW |