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

Unified Diff: chrome/browser/history/in_memory_url_index.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/in_memory_url_index.cc
diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc
index 6173ac39e090753d91f0d0b582eaa0183464915a..c5e26517dcc143d263b709d664811fc96557002d 100644
--- a/chrome/browser/history/in_memory_url_index.cc
+++ b/chrome/browser/history/in_memory_url_index.cc
@@ -21,6 +21,7 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_source.h"
+#include "net/base/url_constants.h"
using in_memory_url_index::InMemoryURLIndexCacheItem;
@@ -42,8 +43,8 @@ void InitializeSchemeWhitelist(std::set<std::string>* whitelist) {
whitelist->insert(std::string(content::kChromeUIScheme));
whitelist->insert(std::string(content::kFileScheme));
whitelist->insert(std::string(content::kFtpScheme));
- whitelist->insert(std::string(content::kHttpScheme));
- whitelist->insert(std::string(content::kHttpsScheme));
+ whitelist->insert(std::string(net::kHttpScheme));
+ whitelist->insert(std::string(net::kHttpsScheme));
whitelist->insert(std::string(content::kMailToScheme));
}

Powered by Google App Engine
This is Rietveld 408576698