OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 140 |
141 // Loads all logins whose blacklist setting matches |blacklisted| into | 141 // Loads all logins whose blacklist setting matches |blacklisted| into |
142 // |forms|. | 142 // |forms|. |
143 bool GetAllLoginsWithBlacklistSetting( | 143 bool GetAllLoginsWithBlacklistSetting( |
144 bool blacklisted, std::vector<autofill::PasswordForm*>* forms) const; | 144 bool blacklisted, std::vector<autofill::PasswordForm*>* forms) const; |
145 | 145 |
146 base::FilePath db_path_; | 146 base::FilePath db_path_; |
147 mutable sql::Connection db_; | 147 mutable sql::Connection db_; |
148 sql::MetaTable meta_table_; | 148 sql::MetaTable meta_table_; |
149 | 149 |
150 PSLMatchingHelper psl_helper_; | |
151 | |
152 DISALLOW_COPY_AND_ASSIGN(LoginDatabase); | 150 DISALLOW_COPY_AND_ASSIGN(LoginDatabase); |
153 }; | 151 }; |
154 | 152 |
155 } // namespace password_manager | 153 } // namespace password_manager |
156 | 154 |
157 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ | 155 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ |
OLD | NEW |