OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_NATIVE_BACKEND_GNOME_X_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
7 | 7 |
8 // libgnome-keyring has been deprecated in favor of libsecret. | 8 // libgnome-keyring has been deprecated in favor of libsecret. |
9 // See: https://mail.gnome.org/archives/commits-list/2013-October/msg08876.html | 9 // See: https://mail.gnome.org/archives/commits-list/2013-October/msg08876.html |
10 // | 10 // |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 bool RemoveLogin(const autofill::PasswordForm& form, | 100 bool RemoveLogin(const autofill::PasswordForm& form, |
101 password_manager::PasswordStoreChangeList* changes) override; | 101 password_manager::PasswordStoreChangeList* changes) override; |
102 bool RemoveLoginsCreatedBetween( | 102 bool RemoveLoginsCreatedBetween( |
103 base::Time delete_begin, | 103 base::Time delete_begin, |
104 base::Time delete_end, | 104 base::Time delete_end, |
105 password_manager::PasswordStoreChangeList* changes) override; | 105 password_manager::PasswordStoreChangeList* changes) override; |
106 bool RemoveLoginsSyncedBetween( | 106 bool RemoveLoginsSyncedBetween( |
107 base::Time delete_begin, | 107 base::Time delete_begin, |
108 base::Time delete_end, | 108 base::Time delete_end, |
109 password_manager::PasswordStoreChangeList* changes) override; | 109 password_manager::PasswordStoreChangeList* changes) override; |
110 bool DisableAutoSignInForAllLogins( | 110 bool DisableAutoSignInForOrigins( |
| 111 const base::Callback<bool(const GURL&)>& origin_filter, |
111 password_manager::PasswordStoreChangeList* changes) override; | 112 password_manager::PasswordStoreChangeList* changes) override; |
112 bool GetLogins(const autofill::PasswordForm& form, | 113 bool GetLogins(const autofill::PasswordForm& form, |
113 ScopedVector<autofill::PasswordForm>* forms) override; | 114 ScopedVector<autofill::PasswordForm>* forms) override; |
114 bool GetAutofillableLogins( | 115 bool GetAutofillableLogins( |
115 ScopedVector<autofill::PasswordForm>* forms) override; | 116 ScopedVector<autofill::PasswordForm>* forms) override; |
116 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 117 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
117 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 118 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
118 | 119 |
119 private: | 120 private: |
120 enum TimestampToCompare { | 121 enum TimestampToCompare { |
(...skipping 26 matching lines...) Expand all Loading... |
147 TimestampToCompare date_to_compare, | 148 TimestampToCompare date_to_compare, |
148 password_manager::PasswordStoreChangeList* changes); | 149 password_manager::PasswordStoreChangeList* changes); |
149 | 150 |
150 // The app string, possibly based on the local profile id. | 151 // The app string, possibly based on the local profile id. |
151 std::string app_string_; | 152 std::string app_string_; |
152 | 153 |
153 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); | 154 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); |
154 }; | 155 }; |
155 | 156 |
156 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ | 157 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
OLD | NEW |