| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 const char* value_in_lowercase); | 65 const char* value_in_lowercase); |
| 66 | 66 |
| 67 // Checks in a case-insensitive way if credit card autocomplete attributes for | 67 // Checks in a case-insensitive way if credit card autocomplete attributes for |
| 68 // the given |element| are present. | 68 // the given |element| are present. |
| 69 bool HasCreditCardAutocompleteAttributes(const blink::WebInputElement& element); | 69 bool HasCreditCardAutocompleteAttributes(const blink::WebInputElement& element); |
| 70 | 70 |
| 71 // Returns whether the form |field| has a "password" type, but looks like a | 71 // Returns whether the form |field| has a "password" type, but looks like a |
| 72 // credit card verification field. | 72 // credit card verification field. |
| 73 bool IsCreditCardVerificationPasswordField(const blink::WebInputElement& field); | 73 bool IsCreditCardVerificationPasswordField(const blink::WebInputElement& field); |
| 74 | 74 |
| 75 // The "Realm" for the sign-on. This is scheme, host, port. |
| 76 std::string GetSignOnRealm(const GURL& origin); |
| 77 |
| 75 } // namespace autofill | 78 } // namespace autofill |
| 76 | 79 |
| 77 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H
__ | 80 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H
__ |
| OLD | NEW |