Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: chrome/renderer/safe_browsing/malware_dom_details.cc

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/malware_dom_details.h" 5 #include "chrome/renderer/safe_browsing/malware_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 "chrome/common/chrome_constants.h"
9 #include "chrome/common/safe_browsing/safebrowsing_messages.h" 9 #include "chrome/common/safe_browsing/safebrowsing_messages.h"
10 #include "content/public/renderer/render_view.h" 10 #include "content/public/renderer/render_view.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 11 #include "third_party/WebKit/public/platform/WebString.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeCollection.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeCollection.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
17 17
18 namespace safe_browsing { 18 namespace safe_browsing {
19 19
20 // An upper limit on the number of nodes we collect. 20 // An upper limit on the number of nodes we collect.
21 uint32 MalwareDOMDetails::kMaxNodes = 500; 21 uint32 MalwareDOMDetails::kMaxNodes = 500;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 // Create the child node. 113 // Create the child node.
114 SafeBrowsingHostMsg_MalwareDOMDetails_Node child_node; 114 SafeBrowsingHostMsg_MalwareDOMDetails_Node child_node;
115 child_node.url = child_url; 115 child_node.url = child_url;
116 child_node.tag_name = element.tagName().utf8(); 116 child_node.tag_name = element.tagName().utf8();
117 child_node.parent = parent_node->url; 117 child_node.parent = parent_node->url;
118 resources->push_back(child_node); 118 resources->push_back(child_node);
119 } 119 }
120 120
121 } // namespace safe_browsing 121 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper_mac.mm ('k') | chrome/renderer/safe_browsing/phishing_classifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698