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

Issue 967453005: Delete unmasked credit cards when clearing data. (Closed)

Created:
5 years, 9 months ago by brettw
Modified:
5 years, 9 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete unmasked credit cards when clearing data. This hooks up unmasked server credit cards to the Chrome clear private data feature. When all data is cleared, all cards will be re-masked. For time ranges, only cards unmasked in that time range will be re-masked. The use-case for re-masking cards unmasked in the past hour is very weak, but we just don't want to re-mask cards that you unmasked a long time ago, and this is how everything else works. This adds a "phone number" column to the server address table. This will be hooked up in a future patch. Doing it here saves another database version bump. Committed: https://crrev.com/d5f6753b6f03e4f70344b4767f67c344464531e7 Cr-Commit-Position: refs/heads/master@{#319531}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : add email, comments #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : review comments #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -14 lines) Patch
M components/autofill/core/browser/webdata/autofill_table.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.cc View 1 2 3 4 5 6 10 chunks +55 lines, -10 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table_unittest.cc View 1 2 3 2 chunks +74 lines, -0 lines 0 comments Download
A + components/test/data/web_database/version_63.sql View 1 chunk +1 line, -1 line 0 comments Download
M components/webdata/common/web_database.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/webdata/common/web_database_migration_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (6 generated)
brettw
5 years, 9 months ago (2015-03-04 23:03:28 UTC) #2
Evan Stade
https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1198 components/autofill/core/browser/webdata/autofill_table.cc:1198: void AutofillTable::SetServerCreditCards( Why does this function support an input ...
5 years, 9 months ago (2015-03-04 23:12:25 UTC) #3
brettw
Now with phone number https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1198 components/autofill/core/browser/webdata/autofill_table.cc:1198: void AutofillTable::SetServerCreditCards( It was convenient ...
5 years, 9 months ago (2015-03-04 23:21:46 UTC) #4
Evan Stade
https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1198 components/autofill/core/browser/webdata/autofill_table.cc:1198: void AutofillTable::SetServerCreditCards( On 2015/03/04 23:21:45, brettw wrote: > It ...
5 years, 9 months ago (2015-03-05 01:54:24 UTC) #5
brettw
https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1198 components/autofill/core/browser/webdata/autofill_table.cc:1198: void AutofillTable::SetServerCreditCards( I spent a while changing this but ...
5 years, 9 months ago (2015-03-05 20:52:19 UTC) #6
Evan Stade
On 2015/03/05 20:52:19, brettw wrote: > https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc > File components/autofill/core/browser/webdata/autofill_table.cc (right): > > https://codereview.chromium.org/967453005/diff/20001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1198 > ...
5 years, 9 months ago (2015-03-05 22:36:23 UTC) #7
Evan Stade
lg aside from SetServerCreditCards https://codereview.chromium.org/967453005/diff/40001/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/967453005/diff/40001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1287 components/autofill/core/browser/webdata/autofill_table.cc:1287: return; nit: unnecessary return https://codereview.chromium.org/967453005/diff/40001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1445 ...
5 years, 9 months ago (2015-03-06 00:20:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/967453005/100001
5 years, 9 months ago (2015-03-06 18:49:43 UTC) #10
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 9 months ago (2015-03-06 18:49:45 UTC) #12
brettw
PTAL
5 years, 9 months ago (2015-03-06 19:08:15 UTC) #13
Evan Stade
lgtm
5 years, 9 months ago (2015-03-06 20:23:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/967453005/120001
5 years, 9 months ago (2015-03-06 20:31:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/967453005/120001
5 years, 9 months ago (2015-03-06 21:26:57 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-07 00:09:29 UTC) #20
commit-bot: I haz the power
5 years, 9 months ago (2015-03-07 00:10:05 UTC) #21
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d5f6753b6f03e4f70344b4767f67c344464531e7
Cr-Commit-Position: refs/heads/master@{#319531}

Powered by Google App Engine
This is Rietveld 408576698