OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_LOGIN_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 bool blacklisted, std::vector<content::PasswordForm*>* forms) const; | 108 bool blacklisted, std::vector<content::PasswordForm*>* forms) const; |
109 | 109 |
110 // Serialization routines for vectors. | 110 // Serialization routines for vectors. |
111 Pickle SerializeVector(const std::vector<string16>& vec) const; | 111 Pickle SerializeVector(const std::vector<string16>& vec) const; |
112 std::vector<string16> DeserializeVector(const Pickle& pickle) const; | 112 std::vector<string16> DeserializeVector(const Pickle& pickle) const; |
113 | 113 |
114 base::FilePath db_path_; | 114 base::FilePath db_path_; |
115 mutable sql::Connection db_; | 115 mutable sql::Connection db_; |
116 sql::MetaTable meta_table_; | 116 sql::MetaTable meta_table_; |
117 | 117 |
| 118 // Set to true if the public suffix based domain matching is enabled. |
| 119 bool public_suffix_domain_matching_; |
| 120 |
118 DISALLOW_COPY_AND_ASSIGN(LoginDatabase); | 121 DISALLOW_COPY_AND_ASSIGN(LoginDatabase); |
119 }; | 122 }; |
120 | 123 |
121 #endif // CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_H_ | 124 #endif // CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_H_ |
OLD | NEW |