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

Unified Diff: chrome/browser/history/url_database.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/history/url_database.cc
diff --git a/chrome/browser/history/url_database.cc b/chrome/browser/history/url_database.cc
index 605213b135e371ba7d38a449a7751bc39df394a3..3e54eba2bd8bac8614c733b96d80d691108d0f20 100644
--- a/chrome/browser/history/url_database.cc
+++ b/chrome/browser/history/url_database.cc
@@ -16,6 +16,7 @@
#include "sql/statement.h"
#include "ui/base/l10n/l10n_util.h"
#include "url/gurl.h"
+#include "url/url_constants.h"
namespace history {
@@ -313,8 +314,8 @@ bool URLDatabase::AutocompleteForPrefix(const std::string& prefix,
bool URLDatabase::IsTypedHost(const std::string& host) {
const char* schemes[] = {
- content::kHttpScheme,
- content::kHttpsScheme,
+ url::kHttpScheme,
+ url::kHttpsScheme,
content::kFtpScheme
};
URLRows dummy;

Powered by Google App Engine
This is Rietveld 408576698