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

Side by Side Diff: content/public/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
« 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/public/common/password_form.h"
6
7 namespace content {
8
9 PasswordForm::PasswordForm()
10 : scheme(SCHEME_HTML),
11 password_autocomplete_set(true),
12 ssl_valid(false),
13 preferred(false),
14 blacklisted_by_user(false),
15 type(TYPE_MANUAL),
16 times_used(0) {
17 }
18
19 PasswordForm::~PasswordForm() {
20 }
21
22 bool PasswordForm::IsPublicSuffixMatch() const {
23 return !original_signon_realm.empty();
24 }
25
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