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

Unified Diff: components/autofill/content/renderer/autofill_agent.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: components/autofill/content/renderer/autofill_agent.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index 7cd6e929273a6d6d9de2dd5d7931fe7d4a5b5e4c..af019db73a99859130835cc038bd6ea420fb76f3 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -46,6 +46,7 @@
#include "third_party/WebKit/public/web/WebView.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/events/keycodes/keyboard_codes.h"
+#include "url/url_constants.h"
using blink::WebAutofillClient;
using blink::WebConsoleMessage;
@@ -280,7 +281,7 @@ void AutofillAgent::didRequestAutocomplete(
GURL url(form.document().url());
content::SSLStatus ssl_status =
render_view()->GetSSLStatusOfFrame(form.document().frame());
- bool is_safe = url.SchemeIs(content::kHttpsScheme) &&
+ bool is_safe = url.SchemeIs(url::kHttpsScheme) &&
!net::IsCertStatusError(ssl_status.cert_status);
bool allow_unsafe = CommandLine::ForCurrentProcess()->HasSwitch(
::switches::kReduceSecurityForTesting);

Powered by Google App Engine
This is Rietveld 408576698