OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_DIALOG_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_DIALOG_ANDROID_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_DIALOG_ANDROID_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_DIALOG_ANDROID_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const std::vector<const autofill::PasswordForm*>& local_credentials_forms() | 56 const std::vector<const autofill::PasswordForm*>& local_credentials_forms() |
57 const; | 57 const; |
58 | 58 |
59 const std::vector<const autofill::PasswordForm*>& | 59 const std::vector<const autofill::PasswordForm*>& |
60 federated_credentials_forms() const; | 60 federated_credentials_forms() const; |
61 | 61 |
62 void ChooseCredential(size_t index, password_manager::CredentialType type); | 62 void ChooseCredential(size_t index, password_manager::CredentialType type); |
63 | 63 |
64 content::WebContents* web_contents_; | 64 content::WebContents* web_contents_; |
65 ManagePasswordsState passwords_data_; | 65 ManagePasswordsState passwords_data_; |
| 66 GURL origin_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(AccountChooserDialogAndroid); | 68 DISALLOW_COPY_AND_ASSIGN(AccountChooserDialogAndroid); |
68 }; | 69 }; |
69 | 70 |
70 // Native JNI methods | 71 // Native JNI methods |
71 bool RegisterAccountChooserDialogAndroid(JNIEnv* env); | 72 bool RegisterAccountChooserDialogAndroid(JNIEnv* env); |
72 | 73 |
73 #endif // CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_DIALOG_ANDROID_H_ | 74 #endif // CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_DIALOG_ANDROID_H_ |
OLD | NEW |