summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/syncapi.cc
diff options
context:
space:
mode:
authorlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 02:00:17 +0000
committerlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 02:00:17 +0000
commitc4ce2420a371462d63e3ab99ba0a172adc9c0ca0 (patch)
treeab8bc09fde9decd764c6ed8172ffc2b3df57981c /chrome/browser/sync/engine/syncapi.cc
parent5a3ed90a6cde8e81d4cd577dd56f6b8c26f5807e (diff)
downloadchromium_src-c4ce2420a371462d63e3ab99ba0a172adc9c0ca0.zip
chromium_src-c4ce2420a371462d63e3ab99ba0a172adc9c0ca0.tar.gz
chromium_src-c4ce2420a371462d63e3ab99ba0a172adc9c0ca0.tar.bz2
Revert 67189 - Autofill work:
1. Added a command line swithc to facilitate incremental checking in of autofill code. 2. Autofill profile model associator. 3. Part of the upgrade code.(The part to take the latest changes from server on the legacy type) Review URL: http://codereview.chromium.org/5126001 TBR=lipalani@chromium.org Review URL: http://codereview.chromium.org/5315002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/engine/syncapi.cc')
-rw-r--r--chrome/browser/sync/engine/syncapi.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/sync/engine/syncapi.cc b/chrome/browser/sync/engine/syncapi.cc
index bc34982..5a71eb8 100644
--- a/chrome/browser/sync/engine/syncapi.cc
+++ b/chrome/browser/sync/engine/syncapi.cc
@@ -83,7 +83,6 @@ using syncable::Directory;
using syncable::DirectoryManager;
using syncable::Entry;
using syncable::SPECIFICS;
-using sync_pb::AutofillProfileSpecifics;
typedef GoogleServiceAuthError AuthError;
@@ -282,11 +281,6 @@ const sync_pb::AutofillSpecifics& BaseNode::GetAutofillSpecifics() const {
return GetEntry()->Get(SPECIFICS).GetExtension(sync_pb::autofill);
}
-const AutofillProfileSpecifics& BaseNode::GetAutofillProfileSpecifics() const {
- DCHECK_EQ(GetModelType(), syncable::AUTOFILL_PROFILE);
- return GetEntry()->Get(SPECIFICS).GetExtension(sync_pb::autofill_profile);
-}
-
const sync_pb::BookmarkSpecifics& BaseNode::GetBookmarkSpecifics() const {
DCHECK(GetModelType() == syncable::BOOKMARKS);
return GetEntry()->Get(SPECIFICS).GetExtension(sync_pb::bookmark);
@@ -763,11 +757,6 @@ ReadNode::ReadNode(const BaseTransaction* transaction)
DCHECK(transaction);
}
-ReadNode::ReadNode() {
- entry_ = NULL;
- transaction_ = NULL;
-}
-
ReadNode::~ReadNode() {
delete entry_;
}