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

Issue 947693002: Add use_count and use_date to unmasked server cards as well. (Closed)

Created:
5 years, 10 months ago by Evan Stade
Modified:
5 years, 10 months ago
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

Add use_count and use_date to unmasked server cards as well. TODO: I think my plan for masked cards is to rank them just below the worst ranked unmasked card, but not above any local card that's been used at least 5 times. That way they'll start near the top, but eventually filter down to the bottom (unless you unlock them), while staying above cards you've used zero times. For wallet addresses, perhaps stick them just below the worst ranked "complete" local address. A "complete" address is defined by addressinput::HasAllRequiredFields. BUG=342426 Committed: https://crrev.com/87362031d4731faeed342d554b231916958774f5 Cr-Commit-Position: refs/heads/master@{#318165}

Patch Set 1 #

Total comments: 9

Patch Set 2 : docs #

Patch Set 3 : internal time instead of time_t #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -37 lines) Patch
M components/autofill/core/browser/personal_data_manager.cc View 1 chunk +9 lines, -2 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager_unittest.cc View 1 2 chunks +71 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.h View 1 2 5 chunks +18 lines, -8 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.cc View 1 2 9 chunks +103 lines, -11 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_service.cc View 1 chunk +8 lines, -0 lines 0 comments Download
A + components/test/data/web_database/version_61.sql View 2 chunks +10 lines, -10 lines 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 3 chunks +79 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Evan Stade
5 years, 10 months ago (2015-02-21 02:20:09 UTC) #3
Peter Kasting
Reminder: Say what you want multiple reviewers to review (I assume I'm reviewing the not-autofill ...
5 years, 10 months ago (2015-02-21 02:29:11 UTC) #4
Peter Kasting
LGTM https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc File components/webdata/common/web_database_migration_unittest.cc (right): https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc#newcode2848 components/webdata/common/web_database_migration_unittest.cc:2848: EXPECT_TRUE(connection.DoesColumnExist("autofill_profiles", "use_date")); Is it worth checking the actual ...
5 years, 10 months ago (2015-02-21 02:30:59 UTC) #6
Evan Stade
On 2015/02/21 02:29:11, Peter Kasting wrote: > Reminder: Say what you want multiple reviewers to ...
5 years, 10 months ago (2015-02-21 02:31:09 UTC) #7
Evan Stade
https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc File components/webdata/common/web_database_migration_unittest.cc (right): https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc#newcode2848 components/webdata/common/web_database_migration_unittest.cc:2848: EXPECT_TRUE(connection.DoesColumnExist("autofill_profiles", "use_date")); On 2015/02/21 02:30:59, Peter Kasting wrote: > ...
5 years, 10 months ago (2015-02-21 02:32:56 UTC) #8
Peter Kasting
https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc File components/webdata/common/web_database_migration_unittest.cc (right): https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc#newcode2848 components/webdata/common/web_database_migration_unittest.cc:2848: EXPECT_TRUE(connection.DoesColumnExist("autofill_profiles", "use_date")); On 2015/02/21 02:32:56, Evan Stade wrote: > ...
5 years, 10 months ago (2015-02-21 02:44:53 UTC) #9
brettw
lgtm https://codereview.chromium.org/947693002/diff/1/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/947693002/diff/1/components/autofill/core/browser/webdata/autofill_table.cc#newcode1276 components/autofill/core/browser/webdata/autofill_table.cc:1276: card->set_use_date(base::Time::FromTimeT(use_date)); I think it's better to use Time::FromInternalValue ...
5 years, 10 months ago (2015-02-23 19:04:34 UTC) #10
Peter Kasting
https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc File components/webdata/common/web_database_migration_unittest.cc (right): https://codereview.chromium.org/947693002/diff/1/components/webdata/common/web_database_migration_unittest.cc#newcode2848 components/webdata/common/web_database_migration_unittest.cc:2848: EXPECT_TRUE(connection.DoesColumnExist("autofill_profiles", "use_date")); On 2015/02/23 19:04:34, brettw wrote: > FWIW ...
5 years, 10 months ago (2015-02-23 21:14:42 UTC) #11
Evan Stade
https://codereview.chromium.org/947693002/diff/1/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/947693002/diff/1/components/autofill/core/browser/webdata/autofill_table.cc#newcode1276 components/autofill/core/browser/webdata/autofill_table.cc:1276: card->set_use_date(base::Time::FromTimeT(use_date)); On 2015/02/23 19:04:34, brettw wrote: > I think ...
5 years, 10 months ago (2015-02-23 22:57:22 UTC) #12
Evan Stade
On 2015/02/23 22:57:22, Evan Stade wrote: > https://codereview.chromium.org/947693002/diff/1/components/autofill/core/browser/webdata/autofill_table.cc > File components/autofill/core/browser/webdata/autofill_table.cc (right): > > https://codereview.chromium.org/947693002/diff/1/components/autofill/core/browser/webdata/autofill_table.cc#newcode1276 ...
5 years, 10 months ago (2015-02-25 00:07:22 UTC) #13
brettw
My preference would be to use the internal value for the times. I think we ...
5 years, 10 months ago (2015-02-25 00:19:25 UTC) #14
Evan Stade
On 2015/02/25 00:19:25, brettw wrote: > My preference would be to use the internal value ...
5 years, 10 months ago (2015-02-25 22:54:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947693002/40001
5 years, 10 months ago (2015-02-25 22:55:22 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-26 01:05:38 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 01:06:35 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/87362031d4731faeed342d554b231916958774f5
Cr-Commit-Position: refs/heads/master@{#318165}

Powered by Google App Engine
This is Rietveld 408576698