| 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> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
| 12 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 13 #include "components/password_manager/core/browser/password_store_default.h" | 16 #include "components/password_manager/core/browser/password_store_default.h" |
| 14 | 17 |
| 15 class PrefService; | 18 class PrefService; |
| 16 | 19 |
| 17 namespace user_prefs { | 20 namespace user_prefs { |
| 18 class PrefRegistrySyncable; | 21 class PrefRegistrySyncable; |
| 19 } | 22 } |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // Whether we should allow falling back to the default store. If there is | 137 // Whether we should allow falling back to the default store. If there is |
| 135 // nothing to migrate, then the first attempt to use the native store will | 138 // nothing to migrate, then the first attempt to use the native store will |
| 136 // be the first time we try to use it and we should allow falling back. If | 139 // be the first time we try to use it and we should allow falling back. If |
| 137 // we have migrated successfully, then we do not allow falling back. | 140 // we have migrated successfully, then we do not allow falling back. |
| 138 bool allow_fallback_; | 141 bool allow_fallback_; |
| 139 | 142 |
| 140 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); | 143 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); |
| 141 }; | 144 }; |
| 142 | 145 |
| 143 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ | 146 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ |
| OLD | NEW |