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

Unified Diff: chrome/common/content_settings_helper.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/common/content_settings_helper.cc
diff --git a/chrome/common/content_settings_helper.cc b/chrome/common/content_settings_helper.cc
index 9fa5607ccf48aa92275add992e47aebe79fdfabe..319cec458d79fbd670432ca77b1df454384f8b9d 100644
--- a/chrome/common/content_settings_helper.cc
+++ b/chrome/common/content_settings_helper.cc
@@ -8,6 +8,7 @@
#include "base/strings/utf_string_conversions.h"
#include "chrome/common/url_constants.h"
#include "url/gurl.h"
+#include "url/url_constants.h"
namespace content_settings_helper {
@@ -15,7 +16,7 @@ std::string OriginToString(const GURL& origin) {
std::string port_component(origin.IntPort() != url_parse::PORT_UNSPECIFIED
? ":" + origin.port()
: std::string());
- std::string scheme_component(!origin.SchemeIs(content::kHttpScheme)
+ std::string scheme_component(!origin.SchemeIs(url::kHttpScheme)
? origin.scheme() +
content::kStandardSchemeSeparator
: std::string());

Powered by Google App Engine
This is Rietveld 408576698