Commit 29b25508 authored by Christoph Schwering's avatar Christoph Schwering Committed by Commit Bot

Removed unused functions.

Removed unused functions from password_form.cc, password_generation_util.cc:
1. autofill::IsHttpAuthScheme()
2. autofill::password_generation::IsPasswordGenerationEnabled()

Change-Id: I423f57bae0d2b90d7c7b5ccb36f0f2a0dede8bb9
Bug: 1007974
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827282
Commit-Queue: Vadym Doroshenko <dvadym@chromium.org>
Reviewed-by: default avatarVadym Doroshenko <dvadym@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700221}
parent 2288a0e3
......@@ -245,12 +245,6 @@ base::string16 ValueElementVectorToString(
return base::JoinString(pairs, base::ASCIIToUTF16(", "));
}
bool IsHttpAuthScheme(PasswordForm::Scheme scheme) {
return scheme == PasswordForm::Scheme::kBasic ||
scheme == PasswordForm::Scheme::kDigest ||
scheme == PasswordForm::Scheme::kOther;
}
std::ostream& operator<<(std::ostream& os, const PasswordForm& form) {
base::DictionaryValue form_json;
PasswordFormToJSON(form, &form_json);
......
......@@ -370,9 +370,6 @@ struct LessThanUniqueKey {
base::string16 ValueElementVectorToString(
const ValueElementVector& value_element_pairs);
// Returns true if |scheme| corresponds to http auth scheme.
bool IsHttpAuthScheme(PasswordForm::Scheme scheme);
// For testing.
std::ostream& operator<<(std::ostream& os, const PasswordForm& form);
std::ostream& operator<<(std::ostream& os, PasswordForm* form);
......
......@@ -141,10 +141,6 @@ struct PasswordGenerationUIData {
void LogPasswordGenerationEvent(PasswordGenerationEvent event);
// Returns true if Password Generation is enabled according to the field
// trial result and the flags.
bool IsPasswordGenerationEnabled();
} // namespace password_generation
} // namespace autofill
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment