Home | History | Annotate | Download | only in common
      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
     27