summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata/autofill_table.h
diff options
context:
space:
mode:
authorgbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 19:25:51 +0000
committergbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 19:25:51 +0000
commitbed29d94d90663ab161e5832677dae9dd4d4be13 (patch)
tree0527ff3b39d74e69ac5c030fbb6ade0fad803e20 /chrome/browser/webdata/autofill_table.h
parent443853c674eeabd922bfcda2caf0411f47c9a93c (diff)
downloadchromium_src-bed29d94d90663ab161e5832677dae9dd4d4be13.zip
chromium_src-bed29d94d90663ab161e5832677dae9dd4d4be13.tar.gz
chromium_src-bed29d94d90663ab161e5832677dae9dd4d4be13.tar.bz2
Update webdata files to take advantage of DLOG(FATAL) in
sql/Statement and Connection. R=shess@chromium.org BUG= TEST=webdata/*Test*.* Review URL: http://codereview.chromium.org/8966003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata/autofill_table.h')
-rw-r--r--chrome/browser/webdata/autofill_table.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/webdata/autofill_table.h b/chrome/browser/webdata/autofill_table.h
index b2212c3..4430f17 100644
--- a/chrome/browser/webdata/autofill_table.h
+++ b/chrome/browser/webdata/autofill_table.h
@@ -246,7 +246,10 @@ class AutofillTable : public WebDatabaseTable {
// Removes rows from autofill_profiles and credit_cards if they were created
// on or after |delete_begin| and strictly before |delete_end|. Returns lists
- // of deleted guids in |profile_guids| and |credit_card_guids|.
+ // of deleted guids in |profile_guids| and |credit_card_guids|. Return value
+ // is true if all rows were successfully removed. Returns false on database
+ // error. In that case, the output vector state is undefined, and may be
+ // partially filled.
bool RemoveAutofillProfilesAndCreditCardsModifiedBetween(
const base::Time& delete_begin,
const base::Time& delete_end,