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_WIN_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/password_manager/core/browser/password_store_default.h" | 11 #include "components/password_manager/core/browser/password_store_default.h" |
12 | 12 |
13 class PasswordWebDataService; | 13 class PasswordWebDataService; |
14 | 14 |
15 namespace autofill { | |
16 struct PasswordForm; | |
17 } | |
18 | |
19 namespace password_manager { | 15 namespace password_manager { |
20 class LoginDatabase; | 16 class LoginDatabase; |
21 } | 17 } |
22 | 18 |
23 // Windows PasswordStore implementation that uses the default implementation, | 19 // Windows PasswordStore implementation that uses the default implementation, |
24 // but also uses IE7 passwords if no others found. | 20 // but also uses IE7 passwords if no others found. |
25 class PasswordStoreWin : public password_manager::PasswordStoreDefault { | 21 class PasswordStoreWin : public password_manager::PasswordStoreDefault { |
26 public: | 22 public: |
27 // The |login_db| must not have been Init()-ed yet. It will be initialized in | 23 // The |login_db| must not have been Init()-ed yet. It will be initialized in |
28 // a deferred manner on the DB thread. The |web_data_service| is only used for | 24 // a deferred manner on the DB thread. The |web_data_service| is only used for |
(...skipping 18 matching lines...) Expand all Loading... |
47 // password_manager::PasswordStore: | 43 // password_manager::PasswordStore: |
48 void GetLoginsImpl(const password_manager::PasswordStore::FormDigest& form, | 44 void GetLoginsImpl(const password_manager::PasswordStore::FormDigest& form, |
49 std::unique_ptr<GetLoginsRequest> request) override; | 45 std::unique_ptr<GetLoginsRequest> request) override; |
50 | 46 |
51 std::unique_ptr<DBHandler> db_handler_; | 47 std::unique_ptr<DBHandler> db_handler_; |
52 | 48 |
53 DISALLOW_COPY_AND_ASSIGN(PasswordStoreWin); | 49 DISALLOW_COPY_AND_ASSIGN(PasswordStoreWin); |
54 }; | 50 }; |
55 | 51 |
56 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ | 52 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ |
OLD | NEW |