|
|
Replace profile statistics preference count with AutofillCounter
The preference count is not very meaningful because it counts the
number of non-default pref values. Even for a new profile, this will
be greater than 0 because many preferences are used for things
different than settings. This CL will replace this number with the
existing AutofillCounter. The number of autofill forms provides more
meaningful information about valuable data that will be lost when a
profile is deleted.
Remove ProfileStatisticsAggregator refcounting because all counters
can be deleted at any time.
Remove ProfileCategoryStat.success because the counters can't fail
anymore.
Change 'Browsing History' to 'Browsing history' for consistency with
'Autofill form data' and other Clear Browsing Data strings.
BUG= 716267
Review-Url: https://codereview.chromium.org/2915053002
Cr-Commit-Position: refs/heads/master@{#479336}
Committed: https://chromium.googlesource.com/chromium/src/+/17645964f33b591deea14589845132be05e8ad9f
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+63 lines, -163 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics.h
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics.cc
|
View
|
1
2
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics_aggregator.h
|
View
|
1
2
|
3 chunks |
+8 lines, -38 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics_aggregator.cc
|
View
|
1
2
|
6 chunks |
+18 lines, -69 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics_browsertest.cc
|
View
|
|
6 chunks |
+4 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics_common.h
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics_common.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_statistics_unittest.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/settings/profile_info_handler.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/login/account_picker/md_user_pod_row.js
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/login/account_picker/md_user_pod_template.html
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/login/account_picker/user_pod_row.js
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/login/account_picker/user_pod_template.html
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 36 (26 generated)
|