Chromium Code Reviews| 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/callback.h" | 16 #include "base/callback_forward.h" |
|
awong
2011/11/28 18:42:21
Not needed?
erikwright (departed)
2011/11/28 19:12:19
Done.
| |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/task.h" | 18 #include "base/task.h" |
| 19 #include "content/public/renderer/render_view_observer.h" | 19 #include "content/public/renderer/render_view_observer.h" |
| 20 | 20 |
| 21 namespace WebKit { | 21 namespace WebKit { |
| 22 class WebElement; | 22 class WebElement; |
| 23 } | 23 } |
| 24 | 24 |
| 25 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; | 25 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; |
| 26 | 26 |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 56 const WebKit::WebElement& element, | 56 const WebKit::WebElement& element, |
| 57 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, | 57 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, |
| 58 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); | 58 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); |
| 59 | 59 |
| 60 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails); | 60 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace safe_browsing | 63 } // namespace safe_browsing |
| 64 | 64 |
| 65 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ | 65 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ |
| OLD | NEW |