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

Unified Diff: chrome/utility/importer/ie_importer_win.cc

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add some missing files. 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/utility/importer/ie_importer_win.cc
diff --git a/chrome/utility/importer/ie_importer_win.cc b/chrome/utility/importer/ie_importer_win.cc
index 540cf59ac981f5dfb36ae19840f80d9474dadbfa..b0a0d7acd39afcdf9c8bd1cb202ed0bf0ce196b1 100644
--- a/chrome/utility/importer/ie_importer_win.cc
+++ b/chrome/utility/importer/ie_importer_win.cc
@@ -42,6 +42,7 @@
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "url/gurl.h"
+#include "url/url_constants.h"
namespace {
@@ -468,8 +469,8 @@ void IEImporter::ImportFavorites() {
}
void IEImporter::ImportHistory() {
- const std::string kSchemes[] = {content::kHttpScheme,
- content::kHttpsScheme,
+ const std::string kSchemes[] = {url::kHttpScheme,
+ url::kHttpsScheme,
content::kFtpScheme,
content::kFileScheme};
int total_schemes = arraysize(kSchemes);
@@ -602,8 +603,8 @@ void IEImporter::ImportPasswordsIE6() {
continue;
GURL url(ac_list[i].key.c_str());
- if (!(LowerCaseEqualsASCII(url.scheme(), content::kHttpScheme) ||
- LowerCaseEqualsASCII(url.scheme(), content::kHttpsScheme))) {
+ if (!(LowerCaseEqualsASCII(url.scheme(), url::kHttpScheme) ||
+ LowerCaseEqualsASCII(url.scheme(), url::kHttpsScheme))) {
continue;
}

Powered by Google App Engine
This is Rietveld 408576698