OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ |
7 #pragma once | |
8 | 7 |
9 // A class that encapsulates the detailed malware reports sent when | 8 // A class that encapsulates the detailed malware reports sent when |
10 // users opt-in to do so from the malware warning page. | 9 // users opt-in to do so from the malware warning page. |
11 | 10 |
12 // An instance of this class is generated when a malware warning page | 11 // An instance of this class is generated when a malware warning page |
13 // is shown (SafeBrowsingBlockingPage). | 12 // is shown (SafeBrowsingBlockingPage). |
14 | 13 |
15 #include <string> | 14 #include <string> |
16 #include <vector> | 15 #include <vector> |
17 | 16 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 public: | 151 public: |
153 virtual ~MalwareDetailsFactory() { } | 152 virtual ~MalwareDetailsFactory() { } |
154 | 153 |
155 virtual MalwareDetails* CreateMalwareDetails( | 154 virtual MalwareDetails* CreateMalwareDetails( |
156 SafeBrowsingService* sb_service, | 155 SafeBrowsingService* sb_service, |
157 content::WebContents* web_contents, | 156 content::WebContents* web_contents, |
158 const SafeBrowsingService::UnsafeResource& unsafe_resource) = 0; | 157 const SafeBrowsingService::UnsafeResource& unsafe_resource) = 0; |
159 }; | 158 }; |
160 | 159 |
161 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ | 160 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ |
OLD | NEW |