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

Side by Side Diff: content/public/common/password_form.cc

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed test expectation to match intention and comment 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
« no previous file with comments | « content/public/common/password_form.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/public/common/password_form.h" 5 #include "content/public/common/password_form.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 PasswordForm::PasswordForm() 9 PasswordForm::PasswordForm()
10 : scheme(SCHEME_HTML), 10 : scheme(SCHEME_HTML),
11 password_autocomplete_set(true), 11 password_autocomplete_set(true),
12 ssl_valid(false), 12 ssl_valid(false),
13 preferred(false), 13 preferred(false),
14 blacklisted_by_user(false), 14 blacklisted_by_user(false),
15 type(TYPE_MANUAL), 15 type(TYPE_MANUAL),
16 times_used(0) { 16 times_used(0) {
17 } 17 }
18 18
19 PasswordForm::~PasswordForm() { 19 PasswordForm::~PasswordForm() {
20 } 20 }
21 21
22 bool PasswordForm::IsPublicSuffixMatch() const {
23 return !original_signon_realm.empty();
24 }
25
22 } // namespace content 26 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/password_form.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698