Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: chrome/browser/password_manager/login_database.h

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated regexp, sanitized result, escaped form domain and added comments. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool GetAllLoginsWithBlacklistSetting( 107 bool GetAllLoginsWithBlacklistSetting(
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 bool psl_domain_matching_;
117 118
118 DISALLOW_COPY_AND_ASSIGN(LoginDatabase); 119 DISALLOW_COPY_AND_ASSIGN(LoginDatabase);
119 }; 120 };
120 121
121 #endif // CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_H_ 122 #endif // CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698