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

Side by Side Diff: components/autofill/core/common/password_form.cc

Issue 23742004: Move PasswordForm from //content to //autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_password_form_conversion_utils
Patch Set: Rebase Created 7 years, 3 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
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 "components/autofill/core/common/password_form.h"
6 6
7 namespace content { 7 namespace autofill {
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 { 22 bool PasswordForm::IsPublicSuffixMatch() const {
23 return !original_signon_realm.empty(); 23 return !original_signon_realm.empty();
24 } 24 }
25 25
26 } // namespace content 26 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | components/autofill/core/common/password_form_fill_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698