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

Unified Diff: chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h
diff --git a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h
index 0f9841089c69ad0b3adf74d3d8eb4de69f2c2ef2..b2de3f7ee4080073f894c85e3a4d8eff73b51df8 100644
--- a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h
+++ b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h
@@ -20,7 +20,7 @@
class GURL;
-namespace WebKit {
+namespace blink {
class WebElement;
}
@@ -88,11 +88,11 @@ class PhishingDOMFeatureExtractor {
// Since some of the features (such as ratios) cannot be computed until
// feature extraction is finished, these handlers do not add to the feature
// map directly. Instead, they update the values in the PageFeatureState.
- void HandleLink(const WebKit::WebElement& element);
- void HandleForm(const WebKit::WebElement& element);
- void HandleImage(const WebKit::WebElement& element);
- void HandleInput(const WebKit::WebElement& element);
- void HandleScript(const WebKit::WebElement& element);
+ void HandleLink(const blink::WebElement& element);
+ void HandleForm(const blink::WebElement& element);
+ void HandleImage(const blink::WebElement& element);
+ void HandleInput(const blink::WebElement& element);
+ void HandleScript(const blink::WebElement& element);
// Helper to verify that there is no pending feature extraction. Dies in
// debug builds if the state is not as expected. This is a no-op in release
@@ -111,7 +111,7 @@ class PhishingDOMFeatureExtractor {
// Returns the next document in frame-traversal order from cur_document_.
// If there are no more documents, returns a null WebDocument.
- WebKit::WebDocument GetNextDocument();
+ blink::WebDocument GetNextDocument();
// Given a URL, checks whether the domain is different from the domain of
// the current frame's URL. If so, stores the domain in |domain| and returns
@@ -135,7 +135,7 @@ class PhishingDOMFeatureExtractor {
// The current (sub-)document that we are processing. May be a null document
// (isNull()) if we are not currently extracting features.
- WebKit::WebDocument cur_document_;
+ blink::WebDocument cur_document_;
// Stores extra state for |cur_document_| that will be persisted until we
// advance to the next frame.

Powered by Google App Engine
This is Rietveld 408576698