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_PASSWORD_STORE_X_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 const url::Origin& origin, | 106 const url::Origin& origin, |
107 base::Time delete_begin, | 107 base::Time delete_begin, |
108 base::Time delete_end) override; | 108 base::Time delete_end) override; |
109 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( | 109 password_manager::PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( |
110 base::Time delete_begin, | 110 base::Time delete_begin, |
111 base::Time delete_end) override; | 111 base::Time delete_end) override; |
112 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( | 112 password_manager::PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl( |
113 base::Time delete_begin, | 113 base::Time delete_begin, |
114 base::Time delete_end) override; | 114 base::Time delete_end) override; |
115 ScopedVector<autofill::PasswordForm> FillMatchingLogins( | 115 ScopedVector<autofill::PasswordForm> FillMatchingLogins( |
116 const autofill::PasswordForm& form, | 116 const autofill::PasswordForm& form) override; |
117 AuthorizationPromptPolicy prompt_policy) override; | |
118 bool FillAutofillableLogins( | 117 bool FillAutofillableLogins( |
119 ScopedVector<autofill::PasswordForm>* forms) override; | 118 ScopedVector<autofill::PasswordForm>* forms) override; |
120 bool FillBlacklistLogins( | 119 bool FillBlacklistLogins( |
121 ScopedVector<autofill::PasswordForm>* forms) override; | 120 ScopedVector<autofill::PasswordForm>* forms) override; |
122 | 121 |
123 // Check to see whether migration is necessary, and perform it if so. | 122 // Check to see whether migration is necessary, and perform it if so. |
124 void CheckMigration(); | 123 void CheckMigration(); |
125 | 124 |
126 // Return true if we should try using the native backend. | 125 // Return true if we should try using the native backend. |
127 bool use_native_backend() { return !!backend_.get(); } | 126 bool use_native_backend() { return !!backend_.get(); } |
(...skipping 15 matching lines...) Expand all Loading... |
143 // Whether we should allow falling back to the default store. If there is | 142 // Whether we should allow falling back to the default store. If there is |
144 // nothing to migrate, then the first attempt to use the native store will | 143 // nothing to migrate, then the first attempt to use the native store will |
145 // be the first time we try to use it and we should allow falling back. If | 144 // be the first time we try to use it and we should allow falling back. If |
146 // we have migrated successfully, then we do not allow falling back. | 145 // we have migrated successfully, then we do not allow falling back. |
147 bool allow_fallback_; | 146 bool allow_fallback_; |
148 | 147 |
149 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); | 148 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); |
150 }; | 149 }; |
151 | 150 |
152 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ | 151 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ |
OLD | NEW |