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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host.cc

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial patches. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/client_side_detection_host.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
index a7d96cf56a35b6f4d7cef88478a192d2f57c3598..2165fa28a9cb4aed9a22525f0b871336d1cd9659 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
@@ -35,6 +35,7 @@
#include "content/public/browser/web_contents.h"
#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/url_constants.h"
+#include "net/base/url_constants.h"
#include "url/gurl.h"
using content::BrowserThread;
@@ -109,7 +110,7 @@ class ClientSideDetectionHost::ShouldClassifyUrlRequest
}
// For phishing we only classify HTTP pages.
- if (!params_.url.SchemeIs(content::kHttpScheme)) {
+ if (!params_.url.SchemeIs(net::kHttpScheme)) {
VLOG(1) << "Skipping phishing classification for URL: " << params_.url
<< " because it is not HTTP: "
<< params_.socket_address.host();

Powered by Google App Engine
This is Rietveld 408576698