OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 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_PASSWORD_STORE_PROXY_MAC_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 base::Time delete_end) override; | 93 base::Time delete_end) override; |
94 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins( | 94 std::vector<std::unique_ptr<autofill::PasswordForm>> FillMatchingLogins( |
95 const FormDigest& form) override; | 95 const FormDigest& form) override; |
96 bool FillAutofillableLogins( | 96 bool FillAutofillableLogins( |
97 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; | 97 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; |
98 bool FillBlacklistLogins( | 98 bool FillBlacklistLogins( |
99 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; | 99 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override; |
100 void AddSiteStatsImpl( | 100 void AddSiteStatsImpl( |
101 const password_manager::InteractionsStats& stats) override; | 101 const password_manager::InteractionsStats& stats) override; |
102 void RemoveSiteStatsImpl(const GURL& origin_domain) override; | 102 void RemoveSiteStatsImpl(const GURL& origin_domain) override; |
| 103 std::vector<password_manager::InteractionsStats> GetAllSiteStatsImpl() |
| 104 override; |
103 std::vector<password_manager::InteractionsStats> GetSiteStatsImpl( | 105 std::vector<password_manager::InteractionsStats> GetSiteStatsImpl( |
104 const GURL& origin_domain) override; | 106 const GURL& origin_domain) override; |
105 | 107 |
106 scoped_refptr<SimplePasswordStoreMac> password_store_simple_; | 108 scoped_refptr<SimplePasswordStoreMac> password_store_simple_; |
107 | 109 |
108 // The login metadata SQL database. If opening the DB on |thread_| fails, | 110 // The login metadata SQL database. If opening the DB on |thread_| fails, |
109 // |login_metadata_db_| will be reset to NULL for the lifetime of |this|. | 111 // |login_metadata_db_| will be reset to NULL for the lifetime of |this|. |
110 // The ownership may be transferred to |password_store_simple_|. | 112 // The ownership may be transferred to |password_store_simple_|. |
111 std::unique_ptr<password_manager::LoginDatabase> login_metadata_db_; | 113 std::unique_ptr<password_manager::LoginDatabase> login_metadata_db_; |
112 | 114 |
(...skipping 11 matching lines...) Expand all Loading... |
124 // them. If this is the case then Shutdown() flushes the tasks after stopping | 126 // them. If this is the case then Shutdown() flushes the tasks after stopping |
125 // the background thread. | 127 // the background thread. |
126 // After InitOnBackgroundThread is run once, the queue may not be modified on | 128 // After InitOnBackgroundThread is run once, the queue may not be modified on |
127 // the background thread any more. | 129 // the background thread any more. |
128 std::vector<base::Closure> pending_ui_tasks_; | 130 std::vector<base::Closure> pending_ui_tasks_; |
129 | 131 |
130 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); | 132 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); |
131 }; | 133 }; |
132 | 134 |
133 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ | 135 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ |
OLD | NEW |