| Index: chrome/renderer/safe_browsing/phishing_classifier.cc
|
| diff --git a/chrome/renderer/safe_browsing/phishing_classifier.cc b/chrome/renderer/safe_browsing/phishing_classifier.cc
|
| index f48e6c138c74e444e79c58d8edb32809d2b6daa7..35665fb5dfb9b17cec9b3f939066e34b4dca1d2a 100644
|
| --- a/chrome/renderer/safe_browsing/phishing_classifier.cc
|
| +++ b/chrome/renderer/safe_browsing/phishing_classifier.cc
|
| @@ -23,6 +23,7 @@
|
| #include "chrome/renderer/safe_browsing/scorer.h"
|
| #include "content/public/renderer/render_view.h"
|
| #include "crypto/sha2.h"
|
| +#include "net/base/url_constants.h"
|
| #include "third_party/WebKit/public/platform/WebURL.h"
|
| #include "third_party/WebKit/public/platform/WebURLRequest.h"
|
| #include "third_party/WebKit/public/web/WebDataSource.h"
|
| @@ -118,7 +119,7 @@ void PhishingClassifier::BeginFeatureExtraction() {
|
| // Check whether the URL is one that we should classify.
|
| // Currently, we only classify http: URLs that are GET requests.
|
| GURL url(frame->document().url());
|
| - if (!url.SchemeIs(content::kHttpScheme)) {
|
| + if (!url.SchemeIs(net::kHttpScheme)) {
|
| RunFailureCallback();
|
| return;
|
| }
|
|
|