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

Unified Diff: components/webdata/autofill/autofill_change.cc

Issue 13839013: Webdata Component tryjobs NOT FOR REVIEW (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: After WD/AF merge Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/webdata/autofill/autofill_change.h ('k') | components/webdata/autofill/autofill_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webdata/autofill/autofill_change.cc
diff --git a/components/webdata/autofill/autofill_change.cc b/components/webdata/autofill/autofill_change.cc
deleted file mode 100644
index 4a6d9fbc18b11e254aef23eded8bf10bf94bd67c..0000000000000000000000000000000000000000
--- a/components/webdata/autofill/autofill_change.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// 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 "components/webdata/autofill/autofill_change.h"
-
-#include "components/autofill/browser/autofill_profile.h"
-#include "components/autofill/browser/credit_card.h"
-
-AutofillChange::AutofillChange(Type type, const AutofillKey& key)
- : GenericAutofillChange<AutofillKey>(type, key) {
-}
-
-AutofillChange::~AutofillChange() {
-}
-
-AutofillProfileChange::AutofillProfileChange(
- Type type, const std::string& key, const AutofillProfile* profile)
- : GenericAutofillChange<std::string>(type, key),
- profile_(profile) {
- DCHECK(type == ADD ? (profile && profile->guid() == key) : true);
- DCHECK(type == UPDATE ? (profile && profile->guid() == key) : true);
- DCHECK(type == REMOVE ? !profile : true);
-}
-
-AutofillProfileChange::~AutofillProfileChange() {
-}
-
-bool AutofillProfileChange::operator==(
- const AutofillProfileChange& change) const {
- return type() == change.type() &&
- key() == change.key() &&
- (type() != REMOVE) ? *profile() == *change.profile() : true;
-}
« no previous file with comments | « components/webdata/autofill/autofill_change.h ('k') | components/webdata/autofill/autofill_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698