| 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 <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/single_thread_task_runner.h" |
| 14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 15 #include "components/password_manager/core/browser/password_store_default.h" | 16 #include "components/password_manager/core/browser/password_store_default.h" |
| 16 | 17 |
| 17 namespace password_manager { | 18 namespace password_manager { |
| 18 class LoginDatabase; | 19 class LoginDatabase; |
| 19 } | 20 } |
| 20 | 21 |
| 21 // PasswordStoreX is used on Linux and other non-Windows, non-Mac OS X | 22 // PasswordStoreX is used on Linux and other non-Windows, non-Mac OS X |
| 22 // operating systems. It uses a "native backend" to actually store the password | 23 // operating systems. It uses a "native backend" to actually store the password |
| 23 // data when such a backend is available, and otherwise falls back to using the | 24 // data when such a backend is available, and otherwise falls back to using the |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // Whether we should allow falling back to the default store. If there is | 147 // Whether we should allow falling back to the default store. If there is |
| 147 // nothing to migrate, then the first attempt to use the native store will | 148 // nothing to migrate, then the first attempt to use the native store will |
| 148 // be the first time we try to use it and we should allow falling back. If | 149 // be the first time we try to use it and we should allow falling back. If |
| 149 // we have migrated successfully, then we do not allow falling back. | 150 // we have migrated successfully, then we do not allow falling back. |
| 150 bool allow_fallback_; | 151 bool allow_fallback_; |
| 151 | 152 |
| 152 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); | 153 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); |
| 153 }; | 154 }; |
| 154 | 155 |
| 155 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ | 156 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ |
| OLD | NEW |