blob: 95a2511c82706da7381301e5d200108d26505506 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/password_form.h"
namespace content {
PasswordForm::PasswordForm()
: scheme(SCHEME_HTML),
password_autocomplete_set(true),
ssl_valid(false),
preferred(false),
blacklisted_by_user(false),
type(TYPE_MANUAL),
times_used(0) {
}
PasswordForm::~PasswordForm() {
}
bool PasswordForm::IsPublicSuffixMatch() const {
return !original_signon_realm.empty();
}
} // namespace content
|