| 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 // 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> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/task.h" | |
| 18 #include "content/public/renderer/render_view_observer.h" | 17 #include "content/public/renderer/render_view_observer.h" |
| 19 | 18 |
| 20 namespace WebKit { | 19 namespace WebKit { |
| 21 class WebElement; | 20 class WebElement; |
| 22 } | 21 } |
| 23 | 22 |
| 24 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; | 23 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; |
| 25 | 24 |
| 26 namespace safe_browsing { | 25 namespace safe_browsing { |
| 27 | 26 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 55 const WebKit::WebElement& element, | 54 const WebKit::WebElement& element, |
| 56 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, | 55 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, |
| 57 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); | 56 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); |
| 58 | 57 |
| 59 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails); | 58 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails); |
| 60 }; | 59 }; |
| 61 | 60 |
| 62 } // namespace safe_browsing | 61 } // namespace safe_browsing |
| 63 | 62 |
| 64 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ | 63 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ |
| OLD | NEW |