| 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
|
|
|