OLD | NEW |
1 // Copyright (c) 2011 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 // MalwareDOMDetails iterates over a document's frames and gathers | 5 // MalwareDOMDetails iterates over a document's frames and gathers |
6 // interesting URLs such as those of scripts and frames. When done, it sends | 6 // interesting URLs such as those of scripts and frames. When done, it sends |
7 // them to the MalwareDetails that requested them. | 7 // them to the MalwareDetails that requested them. |
8 | 8 |
9 #ifndef CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ | 9 #ifndef CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ |
10 #define CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ | 10 #define CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ |
11 | 11 |
12 #include <string> | |
13 #include <vector> | 12 #include <vector> |
14 | 13 |
15 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
16 #include "base/memory/scoped_ptr.h" | 15 #include "base/compiler_specific.h" |
17 #include "content/public/renderer/render_view_observer.h" | 16 #include "content/public/renderer/render_view_observer.h" |
18 | 17 |
19 namespace WebKit { | 18 namespace WebKit { |
20 class WebElement; | 19 class WebElement; |
21 } | 20 } |
22 | 21 |
23 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; | 22 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; |
24 | 23 |
25 namespace safe_browsing { | 24 namespace safe_browsing { |
26 | 25 |
(...skipping 27 matching lines...) Expand all Loading... |
54 const WebKit::WebElement& element, | 53 const WebKit::WebElement& element, |
55 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, | 54 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, |
56 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); | 55 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); |
57 | 56 |
58 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails); | 57 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails); |
59 }; | 58 }; |
60 | 59 |
61 } // namespace safe_browsing | 60 } // namespace safe_browsing |
62 | 61 |
63 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ | 62 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ |
OLD | NEW |