| 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 #include "chrome/renderer/safe_browsing/threat_dom_details.h" | 5 #include "chrome/renderer/safe_browsing/threat_dom_details.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "chrome/common/chrome_constants.h" | 8 #include "components/safe_browsing/common/safebrowsing_messages.h" |
| 9 #include "chrome/common/safe_browsing/safebrowsing_messages.h" | |
| 10 #include "content/public/renderer/render_frame.h" | 9 #include "content/public/renderer/render_frame.h" |
| 11 #include "third_party/WebKit/public/platform/WebString.h" | 10 #include "third_party/WebKit/public/platform/WebString.h" |
| 12 #include "third_party/WebKit/public/web/WebDocument.h" | 11 #include "third_party/WebKit/public/web/WebDocument.h" |
| 13 #include "third_party/WebKit/public/web/WebElement.h" | 12 #include "third_party/WebKit/public/web/WebElement.h" |
| 14 #include "third_party/WebKit/public/web/WebElementCollection.h" | 13 #include "third_party/WebKit/public/web/WebElementCollection.h" |
| 15 #include "third_party/WebKit/public/web/WebFrame.h" | 14 #include "third_party/WebKit/public/web/WebFrame.h" |
| 16 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 15 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 17 | 16 |
| 18 namespace safe_browsing { | 17 namespace safe_browsing { |
| 19 | 18 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } | 104 } |
| 106 } | 105 } |
| 107 resources->push_back(details_node); | 106 resources->push_back(details_node); |
| 108 } | 107 } |
| 109 | 108 |
| 110 void ThreatDOMDetails::OnDestruct() { | 109 void ThreatDOMDetails::OnDestruct() { |
| 111 delete this; | 110 delete this; |
| 112 } | 111 } |
| 113 | 112 |
| 114 } // namespace safe_browsing | 113 } // namespace safe_browsing |
| OLD | NEW |