diff options
-rw-r--r-- | components/autofill/core/browser/DEPS | 1 | ||||
-rw-r--r-- | components/autofill/core/browser/autofill_manager.cc | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/components/autofill/core/browser/DEPS b/components/autofill/core/browser/DEPS index 9b93c76..d28697c 100644 --- a/components/autofill/core/browser/DEPS +++ b/components/autofill/core/browser/DEPS @@ -15,7 +15,6 @@ include_rules = [ "!content/public/browser/browser_context.h", "!content/public/browser/render_view_host.h", "!content/public/browser/web_contents.h", - "!content/public/common/url_constants.h", "!third_party/WebKit/public/web/WebAutofillClient.h", ] diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc index 5877ab4..d6d55df 100644 --- a/components/autofill/core/browser/autofill_manager.cc +++ b/components/autofill/core/browser/autofill_manager.cc @@ -46,7 +46,6 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/render_view_host.h" #include "content/public/browser/web_contents.h" -#include "content/public/common/url_constants.h" #include "grit/component_strings.h" #include "third_party/WebKit/public/web/WebAutofillClient.h" #include "ui/base/l10n/l10n_util.h" @@ -124,7 +123,9 @@ bool SectionIsAutofilled(const FormStructure& form_structure, } bool FormIsHTTPS(const FormStructure& form) { - return form.source_url().SchemeIs(content::kHttpsScheme); + // TODO(blundell): Change this to use a constant once crbug.com/306258 is + // fixed. + return form.source_url().SchemeIs("https"); } // Uses the existing personal data in |profiles| and |credit_cards| to determine |