| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 DisableAutoSignInForOrigins( | 110 bool DisableAutoSignInForOrigins( |
| 111 const base::Callback<bool(const GURL&)>& origin_filter, | 111 const base::Callback<bool(const GURL&)>& origin_filter, |
| 112 password_manager::PasswordStoreChangeList* changes) override; | 112 password_manager::PasswordStoreChangeList* changes) override; |
| 113 bool GetLogins(const autofill::PasswordForm& form, | 113 bool GetLogins(const password_manager::PasswordStore::FormDigest& form, |
| 114 ScopedVector<autofill::PasswordForm>* forms) override; | 114 ScopedVector<autofill::PasswordForm>* forms) override; |
| 115 bool GetAutofillableLogins( | 115 bool GetAutofillableLogins( |
| 116 ScopedVector<autofill::PasswordForm>* forms) override; | 116 ScopedVector<autofill::PasswordForm>* forms) override; |
| 117 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 117 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
| 118 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 118 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
| 119 | 119 |
| 120 private: | 120 private: |
| 121 enum TimestampToCompare { | 121 enum TimestampToCompare { |
| 122 CREATION_TIMESTAMP, | 122 CREATION_TIMESTAMP, |
| 123 SYNC_TIMESTAMP, | 123 SYNC_TIMESTAMP, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 148 TimestampToCompare date_to_compare, | 148 TimestampToCompare date_to_compare, |
| 149 password_manager::PasswordStoreChangeList* changes); | 149 password_manager::PasswordStoreChangeList* changes); |
| 150 | 150 |
| 151 // The app string, possibly based on the local profile id. | 151 // The app string, possibly based on the local profile id. |
| 152 std::string app_string_; | 152 std::string app_string_; |
| 153 | 153 |
| 154 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); | 154 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ | 157 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
| OLD | NEW |