OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_NATIVE_BACKEND_LIBSECRET_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 bool RemoveLogin(const autofill::PasswordForm& form, | 36 bool RemoveLogin(const autofill::PasswordForm& form, |
37 password_manager::PasswordStoreChangeList* changes) override; | 37 password_manager::PasswordStoreChangeList* changes) override; |
38 bool RemoveLoginsCreatedBetween( | 38 bool RemoveLoginsCreatedBetween( |
39 base::Time delete_begin, | 39 base::Time delete_begin, |
40 base::Time delete_end, | 40 base::Time delete_end, |
41 password_manager::PasswordStoreChangeList* changes) override; | 41 password_manager::PasswordStoreChangeList* changes) override; |
42 bool RemoveLoginsSyncedBetween( | 42 bool RemoveLoginsSyncedBetween( |
43 base::Time delete_begin, | 43 base::Time delete_begin, |
44 base::Time delete_end, | 44 base::Time delete_end, |
45 password_manager::PasswordStoreChangeList* changes) override; | 45 password_manager::PasswordStoreChangeList* changes) override; |
46 bool DisableAutoSignInForAllLogins( | 46 bool DisableAutoSignInForOrigins( |
| 47 const base::Callback<bool(const GURL&)>& origin_filter, |
47 password_manager::PasswordStoreChangeList* changes) override; | 48 password_manager::PasswordStoreChangeList* changes) override; |
48 bool GetLogins(const autofill::PasswordForm& form, | 49 bool GetLogins(const autofill::PasswordForm& form, |
49 ScopedVector<autofill::PasswordForm>* forms) override; | 50 ScopedVector<autofill::PasswordForm>* forms) override; |
50 bool GetAutofillableLogins( | 51 bool GetAutofillableLogins( |
51 ScopedVector<autofill::PasswordForm>* forms) override; | 52 ScopedVector<autofill::PasswordForm>* forms) override; |
52 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 53 bool GetBlacklistLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
53 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; | 54 bool GetAllLogins(ScopedVector<autofill::PasswordForm>* forms) override; |
54 | 55 |
55 private: | 56 private: |
56 enum TimestampToCompare { | 57 enum TimestampToCompare { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 GList* found, | 101 GList* found, |
101 const autofill::PasswordForm* lookup_form); | 102 const autofill::PasswordForm* lookup_form); |
102 | 103 |
103 // The app string, possibly based on the local profile id. | 104 // The app string, possibly based on the local profile id. |
104 std::string app_string_; | 105 std::string app_string_; |
105 | 106 |
106 DISALLOW_COPY_AND_ASSIGN(NativeBackendLibsecret); | 107 DISALLOW_COPY_AND_ASSIGN(NativeBackendLibsecret); |
107 }; | 108 }; |
108 | 109 |
109 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_ | 110 #endif // CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_LIBSECRET_H_ |
OLD | NEW |