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

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: Update url/BUILD.gn and address some style nits. 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..aabbc7968ddfe4e233a8e0d40a43f9246823d4c9 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
@@ -36,6 +36,7 @@
#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/url_constants.h"
#include "url/gurl.h"
+#include "url/url_constants.h"
using content::BrowserThread;
using content::NavigationEntry;
@@ -109,7 +110,7 @@ class ClientSideDetectionHost::ShouldClassifyUrlRequest
}
// For phishing we only classify HTTP pages.
- if (!params_.url.SchemeIs(content::kHttpScheme)) {
+ if (!params_.url.SchemeIs(url::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