| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 ScopedVector<autofill::PasswordForm>* forms) | 141 ScopedVector<autofill::PasswordForm>* forms) |
| 142 WARN_UNUSED_RESULT; | 142 WARN_UNUSED_RESULT; |
| 143 | 143 |
| 144 // Removes password created/synced in the time interval. Returns |true| if the | 144 // Removes password created/synced in the time interval. Returns |true| if the |
| 145 // operation succeeded. |changes| will contain the changes applied. | 145 // operation succeeded. |changes| will contain the changes applied. |
| 146 bool RemoveLoginsBetween(base::Time get_begin, | 146 bool RemoveLoginsBetween(base::Time get_begin, |
| 147 base::Time get_end, | 147 base::Time get_end, |
| 148 TimestampToCompare date_to_compare, | 148 TimestampToCompare date_to_compare, |
| 149 password_manager::PasswordStoreChangeList* changes); | 149 password_manager::PasswordStoreChangeList* changes); |
| 150 | 150 |
| 151 // The local profile id, used to generate the app string. | |
| 152 const LocalProfileId profile_id_; | |
| 153 | |
| 154 // The app string, possibly based on the local profile id. | 151 // The app string, possibly based on the local profile id. |
| 155 std::string app_string_; | 152 std::string app_string_; |
| 156 | 153 |
| 157 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); | 154 DISALLOW_COPY_AND_ASSIGN(NativeBackendGnome); |
| 158 }; | 155 }; |
| 159 | 156 |
| 160 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ | 157 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ |
| OLD | NEW |