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

Issue 2228913003: Move part of browsing data counter text util method to components (Closed)

Created:
4 years, 4 months ago by ioanap
Modified:
4 years, 4 months ago
Reviewers:
msramek, sky, blundell
CC:
chromium-reviews, dbeam+watch-options_chromium.org, msramek+watch_chromium.org, michaelpg+watch-options_chromium.org, droger+watchlist_chromium.org, michaelpg+watch-md-settings_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, markusheintz_, melandory
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move part of browsing data counter text util method to components Extract part of the method that constructs the text for browsing data counters into the utils in components/browsing_data/core/. This will return the text for the counters that have been moved to components: PasswordsCounter, AutofillCounter and HistoryCounter. TBRing for trivial method rename in: c/b/android/browsing_data/browsing_data_counter_bridge.cc c/b/ui/webui/settings/settings_clear_browsing_data_handler.cc c/b/ui/webui/options/clear_browser_data_handler.cc TBR=bauerb@chromium.org, dbeam@chromium.org BUG=620317 Committed: https://crrev.com/556a0adf05225bd20e66cff7a7553838c4170b40 Cr-Commit-Position: refs/heads/master@{#412227}

Patch Set 1 #

Patch Set 2 : Add blank line #

Total comments: 15

Patch Set 3 : Addressed comments #

Patch Set 4 : Restructured method in browsing_data_counter_utils.cc #

Total comments: 4

Patch Set 5 : Added dependency #

Patch Set 6 : Addressed comments #

Patch Set 7 : Added per-file OWNERS rule for browsing_data_strings.grdp #

Patch Set 8 : Fixed call site in Android code #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -263 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -94 lines 0 comments Download
M chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data/browsing_data_counter_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data/browsing_data_counter_utils.cc View 1 2 3 4 5 4 chunks +17 lines, -113 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_counter_utils_unittest.cc View 1 2 3 chunks +1 line, -52 lines 0 comments Download
M chrome/browser/ui/webui/options/clear_browser_data_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/OWNERS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/browsing_data/core/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -0 lines 0 comments Download
M components/browsing_data/core/DEPS View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M components/browsing_data/core/browsing_data_utils.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M components/browsing_data/core/browsing_data_utils.cc View 1 2 3 4 5 2 chunks +112 lines, -0 lines 0 comments Download
A components/browsing_data/core/browsing_data_utils_unittest.cc View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
A components/browsing_data_strings.grdp View 1 2 1 chunk +99 lines, -0 lines 0 comments Download
M components/components_strings.grd View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 48 (34 generated)
ioanap
Please take a look! Thanks, Ioana
4 years, 4 months ago (2016-08-09 15:50:10 UTC) #6
msramek
https://codereview.chromium.org/2228913003/diff/20001/chrome/browser/browsing_data/browsing_data_counter_utils.cc File chrome/browser/browsing_data/browsing_data_counter_utils.cc (left): https://codereview.chromium.org/2228913003/diff/20001/chrome/browser/browsing_data/browsing_data_counter_utils.cc#oldcode237 chrome/browser/browsing_data/browsing_data_counter_utils.cc:237: bool GetDeletionPreferenceFromDataType( Technically unrelated to this CL, but is ...
4 years, 4 months ago (2016-08-09 16:28:33 UTC) #7
ioanap
Addressed comments! Thanks, Ioana https://codereview.chromium.org/2228913003/diff/20001/chrome/browser/browsing_data/browsing_data_counter_utils.cc File chrome/browser/browsing_data/browsing_data_counter_utils.cc (left): https://codereview.chromium.org/2228913003/diff/20001/chrome/browser/browsing_data/browsing_data_counter_utils.cc#oldcode237 chrome/browser/browsing_data/browsing_data_counter_utils.cc:237: bool GetDeletionPreferenceFromDataType( On 2016/08/09 16:28:32, ...
4 years, 4 months ago (2016-08-10 09:34:37 UTC) #10
msramek
LGTM with 2 nits (sorry for nitpicking) Please make sure to test chrome://md-settings/clearBrowserData on Desktop ...
4 years, 4 months ago (2016-08-10 09:59:50 UTC) #15
ioanap
Checked md-settings too. They're all in place now! Thanks, Ioana https://codereview.chromium.org/2228913003/diff/20001/chrome/browser/browsing_data/browsing_data_counter_utils_unittest.cc File chrome/browser/browsing_data/browsing_data_counter_utils_unittest.cc (right): https://codereview.chromium.org/2228913003/diff/20001/chrome/browser/browsing_data/browsing_data_counter_utils_unittest.cc#newcode80 ...
4 years, 4 months ago (2016-08-10 11:12:32 UTC) #18
ioanap
+ sdefresne@: For changes in top level components/ + sky@: For deps on "ui/base" in ...
4 years, 4 months ago (2016-08-10 11:20:09 UTC) #20
sky
LGTM
4 years, 4 months ago (2016-08-10 15:13:15 UTC) #21
ioanap
-sdefresne@ (OOO) +blundell@ for changes in top level components/ Please take a look! Thanks, Ioana
4 years, 4 months ago (2016-08-16 09:43:19 UTC) #29
blundell
lgtm
4 years, 4 months ago (2016-08-16 09:50:01 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2228913003/140001
4 years, 4 months ago (2016-08-16 11:13:29 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/251904) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-16 11:15:45 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2228913003/160001
4 years, 4 months ago (2016-08-16 13:36:26 UTC) #44
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-08-16 13:40:11 UTC) #46
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 13:42:00 UTC) #48
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/556a0adf05225bd20e66cff7a7553838c4170b40
Cr-Commit-Position: refs/heads/master@{#412227}

Powered by Google App Engine
This is Rietveld 408576698