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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.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/safe_browsing/safe_browsing_blocking_page.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index ffcf0a70cdbffc4978c757deb844a0a0f0e03c6c..acd95805905ca349d2930feafba5c2be69349be2 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -40,6 +40,7 @@
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "net/base/escape.h"
+#include "net/base/url_constants.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/webui/jstemplate_builder.h"
@@ -265,7 +266,7 @@ SafeBrowsingBlockingPage::SafeBrowsingBlockingPage(
bool SafeBrowsingBlockingPage::CanShowMalwareDetailsOption() {
return (!web_contents_->GetBrowserContext()->IsOffTheRecord() &&
- web_contents_->GetURL().SchemeIs(content::kHttpScheme));
+ web_contents_->GetURL().SchemeIs(net::kHttpScheme));
}
SafeBrowsingBlockingPage::~SafeBrowsingBlockingPage() {

Powered by Google App Engine
This is Rietveld 408576698