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

Unified Diff: chrome/browser/history/visit_database.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/history/visit_database.cc
diff --git a/chrome/browser/history/visit_database.cc b/chrome/browser/history/visit_database.cc
index 20e98b11807ef7964a020374b97ec5a2376113d0..5e739125a5d0b001087d74666786878cbad9db75 100644
--- a/chrome/browser/history/visit_database.cc
+++ b/chrome/browser/history/visit_database.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/history/visit_filter.h"
#include "chrome/common/url_constants.h"
#include "content/public/common/page_transition_types.h"
+#include "net/base/url_constants.h"
#include "sql/statement.h"
namespace history {
@@ -490,8 +491,7 @@ bool VisitDatabase::GetRedirectToVisit(VisitID to_visit,
bool VisitDatabase::GetVisibleVisitCountToHost(const GURL& url,
int* count,
base::Time* first_visit) {
- if (!url.SchemeIs(content::kHttpScheme) &&
- !url.SchemeIs(content::kHttpsScheme))
+ if (!url.SchemeIs(net::kHttpScheme) && !url.SchemeIs(net::kHttpsScheme))
return false;
// We need to search for URLs with a matching host/port. One way to query for

Powered by Google App Engine
This is Rietveld 408576698