| 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 // ThreatDOMDetails iterates over a document's frames and gathers | 5 // ThreatDOMDetails 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 ThreatDetails that requested them. | 7 // them to the ThreatDetails that requested them. |
| 8 | 8 |
| 9 #ifndef CHROME_RENDERER_SAFE_BROWSING_THREAT_DOM_DETAILS_H_ | 9 #ifndef COMPONENTS_SAFE_BROWSING_RENDERER_THREAT_DOM_DETAILS_H_ |
| 10 #define CHROME_RENDERER_SAFE_BROWSING_THREAT_DOM_DETAILS_H_ | 10 #define COMPONENTS_SAFE_BROWSING_RENDERER_THREAT_DOM_DETAILS_H_ |
| 11 | 11 |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "content/public/renderer/render_frame_observer.h" | 15 #include "content/public/renderer/render_frame_observer.h" |
| 16 | 16 |
| 17 struct SafeBrowsingHostMsg_ThreatDOMDetails_Node; | 17 struct SafeBrowsingHostMsg_ThreatDOMDetails_Node; |
| 18 | 18 |
| 19 namespace safe_browsing { | 19 namespace safe_browsing { |
| 20 | 20 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 bool OnMessageReceived(const IPC::Message& message) override; | 43 bool OnMessageReceived(const IPC::Message& message) override; |
| 44 void OnDestruct() override; | 44 void OnDestruct() override; |
| 45 | 45 |
| 46 void OnGetThreatDOMDetails(); | 46 void OnGetThreatDOMDetails(); |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(ThreatDOMDetails); | 48 DISALLOW_COPY_AND_ASSIGN(ThreatDOMDetails); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace safe_browsing | 51 } // namespace safe_browsing |
| 52 | 52 |
| 53 #endif // CHROME_RENDERER_SAFE_BROWSING_THREAT_DOM_DETAILS_H_ | 53 #endif // COMPONENTS_SAFE_BROWSING_RENDERER_THREAT_DOM_DETAILS_H_ |
| OLD | NEW |