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_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ |
7 #pragma once | |
8 | 7 |
9 // A class that gets malware details from the HTTP Cache. | 8 // A class that gets malware details from the HTTP Cache. |
10 // An instance of this class is generated by MalwareDetails. | 9 // An instance of this class is generated by MalwareDetails. |
11 | 10 |
12 #include <string> | 11 #include <string> |
13 #include <vector> | 12 #include <vector> |
14 | 13 |
15 #include "base/callback.h" | 14 #include "base/callback.h" |
16 #include "base/hash_tables.h" | 15 #include "base/hash_tables.h" |
17 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 const std::string& data); | 102 const std::string& data); |
104 | 103 |
105 // Called when we are done. | 104 // Called when we are done. |
106 void AllDone(bool success); | 105 void AllDone(bool success); |
107 | 106 |
108 // Advances to the next entry in resources_it_. | 107 // Advances to the next entry in resources_it_. |
109 void AdvanceEntry(); | 108 void AdvanceEntry(); |
110 }; | 109 }; |
111 | 110 |
112 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ | 111 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_CACHE_H_ |
OLD | NEW |