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

Unified Diff: chrome/browser/password_manager/account_chooser_dialog_android.h

Issue 2531863002: Delete all the traces of federation providers in the account chooser. (Closed)
Patch Set: android2 Created 4 years, 1 month 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/password_manager/account_chooser_dialog_android.h
diff --git a/chrome/browser/password_manager/account_chooser_dialog_android.h b/chrome/browser/password_manager/account_chooser_dialog_android.h
index 3ddcf25ce1413f2f3ab645917775326c129d51b6..328a20bac47a935154806f763a008dbdc70106ad 100644
--- a/chrome/browser/password_manager/account_chooser_dialog_android.h
+++ b/chrome/browser/password_manager/account_chooser_dialog_android.h
@@ -18,10 +18,6 @@ namespace content {
class WebContents;
}
-namespace password_manager {
-struct CredentialInfo;
-}
-
// Native counterpart for the android dialog which allows users to select
// credentials which will be passed to the web site in order to log in the user.
class AccountChooserDialogAndroid : public content::WebContentsObserver {
@@ -29,7 +25,6 @@ class AccountChooserDialogAndroid : public content::WebContentsObserver {
AccountChooserDialogAndroid(
content::WebContents* web_contents,
std::vector<std::unique_ptr<autofill::PasswordForm>> local_credentials,
- std::vector<std::unique_ptr<autofill::PasswordForm>> federation_providers,
const GURL& origin,
const ManagePasswordsState::CredentialsCallback& callback);
@@ -46,7 +41,6 @@ class AccountChooserDialogAndroid : public content::WebContentsObserver {
void OnCredentialClicked(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
jint credential_item,
- jint credential_type,
jboolean sign_button_clicked);
// Opens new tab with page which explains the Smart Lock branding.
@@ -63,9 +57,6 @@ class AccountChooserDialogAndroid : public content::WebContentsObserver {
const std::vector<std::unique_ptr<autofill::PasswordForm>>&
local_credentials_forms() const;
- const std::vector<std::unique_ptr<autofill::PasswordForm>>&
- federation_providers_forms() const;
-
void ChooseCredential(size_t index,
password_manager::CredentialType type,
bool sign_button_clicked);

Powered by Google App Engine
This is Rietveld 408576698