summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata/autofill_entry.cc
blob: 193444024065cea413db3d2414e97808721cae12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2009 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 "chrome/browser/webdata/autofill_entry.h"

bool AutofillKey::operator==(const AutofillKey& key) const {
  return name_ == key.name() && value_ == key.value();
}

bool AutofillEntry::operator==(const AutofillEntry& entry) const {
  return key_ == entry.key();
}