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

Issue 1248613003: Issue 501916 : Add data type counts to profile deletion flow (Closed)

Created:
5 years, 5 months ago by lwchkg
Modified:
5 years, 2 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, arv+watch_chromium.org, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Issue 501916: Add data type counts to profile deletion flow The "remove user warning" dialog shows counts browsing history, passwords, bookmarks and preferences. For synced account, only the total of the four counts is displayed. chrome/browser/profiles/profile_statistics.* : New function GetProfileStatistics to find the counts. chrome/app/generated_resources.grd, ui/login/account_picker/user_pod_*.*, chrome/browser/ui/webui/signin/user_manager_screen_handler.*, chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc : Adding the required functions to the UI. components/history/core/browser/* : Added helper functions to find the browsing history counts. BUG=501916 TEST= Testing procedures ================== (See the section below for explanation of the starred steps.) 1. Obtain a user-dir with at least a non-synced user, a synced user and a legacy supervised user. (You may need to use official Chrome to create a legacy supervised user.) 2. COPY the user-dir to a new place. 3. Start Chromium with the copied user-dir (--user-data-dir=...). HINT: CREATE A BATCH FILE / SHELL SCRIPT. OTHERWISE YOU MAY ACCIDENTALLY DELETE YOUR OWN PROFILES! 4. Switch to a non-synced user. Close and reopen Chromium so only that user's profile is open. 5*.Go to the user selection dialog. Do not switch users now. 6*.Try to delete a user and see the confirmation message. Do this for all users to see if all the messages are correct. Statistics be shown on the opened user only. (Note: we did't make a confirmation dialog for legacy supervised users. Just test if the old one still works.) 7. Do steps 4-6 again but switch to (a) synced user, (b) legacy supervised user for step 4. 8. After 7(a) and 7(b), delete all the users in the user selection dialog. Deletion should be successful. (This step checks for regressions.) Going to the user selection dialog (steps 5-6) ============================================== (Step 5) 1. At any Chromium window, find the button at the right side of the title bar. It can be a picture of a people, "Person ?" or some initials. 2. Click the button. 3. Select "Switch Person". (Step 6) 4. Make the mouse cursor hover on a user. 5. Click on the button with the downward arrow, which appears when you hover on the user. 6. Click "Remove this person". 7. Now you will see the confirmation message. To populate the categories ========================== Bookmark: To add an entry: click the empty star at the location bar. Then press "Done". To remove an entry: similar to add an entry, but press "Remove" instead of "Done". History: To add an entry: type an URL in the location bar. If the same URL is not visited in the same day, then a new entry is made. To remove an entry: go to chrome://history/ and delete the entry there. Password: To add an entry: Go to http://codepen.io/anon/pen/JYPjdd . Type a random username and password, then click submit. (You may ignore the password criteria.) You will be asked to save the password. To remove an entry: Go to chrome://settings/passwords . Select an unwanted entry and delete it. Preferences: Unknown. I have no idea how to add/remove an entry. Committed: https://crrev.com/3bbd8033884cca5e08fc8618670608798e2e20f8 Cr-Commit-Position: refs/heads/master@{#354679}

Patch Set 1 : First draft #

Total comments: 20

Patch Set 2 : Second draft #

Patch Set 3 : Third draft - removed all password manager code #

Total comments: 25

Patch Set 4 : Fourth draft #

Total comments: 1

Patch Set 5 : Fifth draft #

Patch Set 6 : minor update (fix wrong initializer list sequence) #

Patch Set 7 : minor update + remove unused draft code #

Patch Set 8 : updated chromeos empty "localized" strings in signin_screen_handler.cc #

Total comments: 32

Patch Set 9 : Sixth draft #

Total comments: 19

Patch Set 10 : Seventh draft #

Total comments: 23

Patch Set 11 : Eighth draft - added "bool success" to all returns #

Total comments: 16

Patch Set 12 : Respond to Mike's comment #

Total comments: 3

Patch Set 13 : update: HTML message in generated_resouces.grd changed to plain text. HTML tags are generated by JS now. #

Total comments: 7

Patch Set 14 : Added warning messages with words "at least" which is shown when some stats failed. Also fixed the missing "will" in the messages. #

Patch Set 15 : Ninth draft - singular/plural strings handled correctly #

Total comments: 18

Patch Set 16 : Rebase - history code already committed in another CL #

Patch Set 17 : Rebase (again) and added strings for the case when statistics are loading #

Total comments: 5

Patch Set 18 : Respond to comments #

Patch Set 19 : Rebased and modified GetHistoryCount call with reference to https://codereview.chromium.org/1370493002 #

Total comments: 28

Patch Set 20 : Respond to achuithb's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+685 lines, -33 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +46 lines, -2 lines 0 comments Download
A chrome/browser/profiles/profile_statistics.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/profiles/profile_statistics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +266 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +117 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M ui/login/account_picker/user_pod_row.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +31 lines, -2 lines 0 comments Download
M ui/login/account_picker/user_pod_row.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +123 lines, -22 lines 0 comments Download
M ui/login/account_picker/user_pod_template.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +30 lines, -2 lines 0 comments Download

Messages

Total messages: 184 (52 generated)
lwchkg
Dear Anthony and Mike, Please review my draft code and give comments. Thank you. Regards, ...
5 years, 5 months ago (2015-07-21 16:03:54 UTC) #2
Mike Lerman
Hi, a few initial comments (I'm on paternity leave, so will be sadly slow to ...
5 years, 5 months ago (2015-07-22 01:39:27 UTC) #3
lwchkg
> Hi, a few initial comments (I'm on paternity leave, so will be sadly slow ...
5 years, 5 months ago (2015-07-22 03:05:11 UTC) #4
lwchkg
> > 2) I get early buy-in from owners of all the various classes you're ...
5 years, 5 months ago (2015-07-22 13:04:15 UTC) #5
lwchkg
> Two major things: > 1) Please make modifications to the User Manager (see > ...
5 years, 5 months ago (2015-07-22 13:12:10 UTC) #6
lwchkg
https://codereview.chromium.org/1248613003/diff/1/chrome/browser/profiles/profile_statistics_service.cc File chrome/browser/profiles/profile_statistics_service.cc (right): https://codereview.chromium.org/1248613003/diff/1/chrome/browser/profiles/profile_statistics_service.cc#newcode36 chrome/browser/profiles/profile_statistics_service.cc:36: BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB).get(), On 2015/07/22 01:39:26, Mike Lerman (OOO through Aug4) ...
5 years, 5 months ago (2015-07-26 17:38:23 UTC) #7
lwchkg
So stupid to leave the draft reply unsent for days. :-(
5 years, 5 months ago (2015-07-26 17:38:59 UTC) #8
lwchkg
Dear all, Here is the second draft of Issue 501916. Please help by having a ...
5 years, 5 months ago (2015-07-27 07:05:35 UTC) #10
msramek
https://codereview.chromium.org/1248613003/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1248613003/diff/40001/chrome/app/generated_resources.grd#newcode14293 chrome/app/generated_resources.grd:14293: + This will permanently delete <span class="total-count">...</span> items from ...
5 years, 4 months ago (2015-07-29 13:55:01 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/40001
5 years, 4 months ago (2015-07-29 13:55:24 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/113692) linux_chromium_gn_chromeos_rel on ...
5 years, 4 months ago (2015-07-29 14:03:08 UTC) #15
lwchkg
Dear msramek, Thanks for your review. I hope to finish a fully functional draft tomorrow. ...
5 years, 4 months ago (2015-07-29 14:46:05 UTC) #16
msramek
I added some more comments. High-level architecture lg, but you'll need the code owners to ...
5 years, 4 months ago (2015-07-29 18:10:25 UTC) #17
msramek
+OWNERS of the affected files Please take a look.
5 years, 4 months ago (2015-07-29 18:13:28 UTC) #19
James Hawkins
Please ping back when try bots are green.
5 years, 4 months ago (2015-07-29 18:47:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/60001
5 years, 4 months ago (2015-07-30 16:37:05 UTC) #24
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 4 months ago (2015-07-30 16:37:10 UTC) #26
lwchkg
Dear all, I've just uploaded a new draft. Please have a look. Thank you. Note: ...
5 years, 4 months ago (2015-07-30 17:07:19 UTC) #27
James Hawkins
Can you please update the CL description to just list the current state of the ...
5 years, 4 months ago (2015-07-30 17:56:37 UTC) #28
lwchkg
On 2015/07/30 17:56:37, James Hawkins wrote: > Can you please update the CL description to ...
5 years, 4 months ago (2015-07-31 08:48:10 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/80001
5 years, 4 months ago (2015-07-31 12:54:15 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/64147)
5 years, 4 months ago (2015-07-31 13:03:47 UTC) #34
lwchkg
Fourth draft (Backlog) User switching dialog (chrome://user-manager) finished. - Added: Messages when no statistics is ...
5 years, 4 months ago (2015-07-31 15:18:22 UTC) #35
lwchkg
Fifth draft Updated history calculation to per url chain per day Fixed profile_statistics.cc initialization order ...
5 years, 4 months ago (2015-07-31 15:23:48 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/100001
5 years, 4 months ago (2015-07-31 15:29:34 UTC) #38
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/79904)
5 years, 4 months ago (2015-07-31 15:40:37 UTC) #40
lwchkg
On 2015/07/31 15:40:37, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 4 months ago (2015-07-31 15:49:56 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/120001
5 years, 4 months ago (2015-07-31 18:12:37 UTC) #43
James Hawkins
On 2015/07/31 08:48:10, lwchkg wrote: > On 2015/07/30 17:56:37, James Hawkins wrote: > > Can ...
5 years, 4 months ago (2015-07-31 18:17:25 UTC) #44
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/98680) linux_chromium_rel_ng on ...
5 years, 4 months ago (2015-07-31 18:34:45 UTC) #46
lwchkg
I've just submitted a new patch to fix the GCC compiling problems, and removed the ...
5 years, 4 months ago (2015-08-03 17:44:36 UTC) #47
lwchkg
5 years, 4 months ago (2015-08-03 17:46:25 UTC) #48
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/140001
5 years, 4 months ago (2015-08-03 17:50:22 UTC) #50
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/85832)
5 years, 4 months ago (2015-08-03 19:05:26 UTC) #52
lwchkg
Updated empty translated strings in signin_screen_handler.cc (These strings are not used in Chrome OS, but ...
5 years, 4 months ago (2015-08-04 08:10:44 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/160001
5 years, 4 months ago (2015-08-04 08:37:39 UTC) #55
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-04 10:08:29 UTC) #57
lwchkg
On 2015/08/04 10:08:29, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 4 months ago (2015-08-05 15:14:20 UTC) #58
Mike Lerman
Here are some first-pass-through comments. Just catching up now that I'm back from leave :) ...
5 years, 4 months ago (2015-08-05 19:26:10 UTC) #59
lwchkg
Acknowledged most of Mike's comments. And also asked a few questions. https://codereview.chromium.org/1248613003/diff/160001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): ...
5 years, 4 months ago (2015-08-06 04:32:59 UTC) #60
lwchkg
On 2015/08/05 19:26:10, Mike Lerman wrote: > Here are some first-pass-through comments. Just catching up ...
5 years, 4 months ago (2015-08-06 04:33:57 UTC) #61
lwchkg
Dear Mike, Just ask a few questions (see the marked lines below). Regards, WC Leung. ...
5 years, 4 months ago (2015-08-06 04:58:23 UTC) #62
Mike Lerman
https://codereview.chromium.org/1248613003/diff/160001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1248613003/diff/160001/chrome/app/generated_resources.grd#newcode14392 chrome/app/generated_resources.grd:14392: + Manage your synced data on <a href="https://www.google.com/settings/chrome/sync">Google Dashboard</a>. ...
5 years, 4 months ago (2015-08-06 17:38:27 UTC) #63
lwchkg
> On 2015/08/06 04:58:23, lwchkg wrote: > > Hyperlinks do not work with the profile ...
5 years, 4 months ago (2015-08-07 08:45:10 UTC) #64
lwchkg
Please see the next draft, which mainly address the comments by Mike. Also fixed a ...
5 years, 4 months ago (2015-08-07 10:43:48 UTC) #66
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/200001
5 years, 4 months ago (2015-08-07 19:21:10 UTC) #68
Mike Lerman
Just a few more small comments for you. https://codereview.chromium.org/1248613003/diff/160001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/160001/chrome/browser/profiles/profile_statistics.cc#newcode116 chrome/browser/profiles/profile_statistics.cc:116: StatisticsCallback("BrowsingHistory", ...
5 years, 4 months ago (2015-08-07 19:37:12 UTC) #69
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-07 21:28:40 UTC) #71
lwchkg
https://codereview.chromium.org/1248613003/diff/200001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/200001/chrome/browser/profiles/profile_statistics.cc#newcode30 chrome/browser/profiles/profile_statistics.cc:30: class ProfileStatisticsAggregator On 2015/08/07 19:37:12, Mike Lerman wrote: > ...
5 years, 4 months ago (2015-08-09 16:11:50 UTC) #72
lwchkg
Seventh draft ============= Updated messages to match issue 501916 comment #31 to #34 Moved ProfileStatisticsAggregator ...
5 years, 4 months ago (2015-08-10 12:02:56 UTC) #73
lwchkg
https://codereview.chromium.org/1248613003/diff/160001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/160001/chrome/browser/profiles/profile_statistics.cc#newcode116 chrome/browser/profiles/profile_statistics.cc:116: StatisticsCallback("BrowsingHistory", 0); > There are a variety of strange ...
5 years, 4 months ago (2015-08-10 12:03:37 UTC) #74
lwchkg
https://codereview.chromium.org/1248613003/diff/220001/components/history/core/browser/history_backend.cc File components/history/core/browser/history_backend.cc (right): https://codereview.chromium.org/1248613003/diff/220001/components/history/core/browser/history_backend.cc#newcode1060 components/history/core/browser/history_backend.cc:1060: if (!db_) Also suggest to rename to GetHistoryCount. Mike: ...
5 years, 4 months ago (2015-08-11 15:54:52 UTC) #75
lwchkg
+owners of affected directories @sdefrense and @sky: For performance reasons I have added a set ...
5 years, 4 months ago (2015-08-12 17:47:30 UTC) #78
vabr (Chromium)
Hi WC Leung, On 2015/08/12 17:47:30, lwchkg wrote: > @vabr: No code in your directory ...
5 years, 4 months ago (2015-08-13 07:06:09 UTC) #79
Mike Lerman
Next round :) Nikita/Dmitry, this CL's pretty stable for your sections of the code. Feel ...
5 years, 4 months ago (2015-08-13 14:56:33 UTC) #80
Nikita (slow)
On 2015/08/13 14:56:33, Mike Lerman wrote: > Nikita/Dmitry, this CL's pretty stable for your sections ...
5 years, 4 months ago (2015-08-13 15:03:51 UTC) #81
Dmitry Polukhin
I can review Chrome OS side of this CL but you also need reviewer who ...
5 years, 4 months ago (2015-08-13 15:34:17 UTC) #82
lwchkg
https://codereview.chromium.org/1248613003/diff/160001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/160001/chrome/browser/profiles/profile_statistics.cc#newcode116 chrome/browser/profiles/profile_statistics.cc:116: StatisticsCallback("BrowsingHistory", 0); > My preference, rather than using special ...
5 years, 4 months ago (2015-08-13 16:20:17 UTC) #83
lwchkg
> and the refcount will be released by the deletion. That's why when all the ...
5 years, 4 months ago (2015-08-13 16:27:41 UTC) #84
lwchkg
Eighth draft ============ - Respond to Mike's comment. (Not Dmitry's comment yet... sorry I didn't ...
5 years, 4 months ago (2015-08-16 18:13:28 UTC) #85
Mike Lerman
Dmirty, I'm an owner of the desktop UserManager/user_pod code, and will review it accordingly. https://codereview.chromium.org/1248613003/diff/220001/chrome/browser/profiles/profile_statistics.cc ...
5 years, 4 months ago (2015-08-17 14:23:38 UTC) #86
lwchkg
Now response to Dmitry's review. > I can review Chrome OS side of this CL ...
5 years, 4 months ago (2015-08-17 17:36:32 UTC) #87
Dmitry Polukhin
https://codereview.chromium.org/1248613003/diff/220001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1248613003/diff/220001/chrome/app/generated_resources.grd#newcode14413 chrome/app/generated_resources.grd:14413: + This will permanently delete <ph name="TOTAL_COUNT">&lt;span class=&quot;total-count&quot;&gt;...&lt;/span&gt;<ex>1234</ex></ph> items ...
5 years, 4 months ago (2015-08-18 10:25:50 UTC) #88
lwchkg
Just confirmed with the newest build that the JS code works with patch #11, so ...
5 years, 4 months ago (2015-08-19 06:14:17 UTC) #89
lwchkg
Now my daughter is finally born. :-) So I'll be slower to update the code. ...
5 years, 4 months ago (2015-08-19 06:19:45 UTC) #90
Mike Lerman
https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/profiles/profile_statistics.cc#newcode74 chrome/browser/profiles/profile_statistics.cc:74: void StatisticsCallbackImpl( On 2015/08/19 06:19:45, lwchkg wrote: > On ...
5 years, 4 months ago (2015-08-20 14:52:11 UTC) #91
lwchkg
https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/profiles/profile_statistics.cc#newcode74 chrome/browser/profiles/profile_statistics.cc:74: void StatisticsCallbackImpl( Base sounds good. BTW, I've got a ...
5 years, 4 months ago (2015-08-20 16:06:25 UTC) #92
Mike Lerman
https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/profiles/profile_statistics.cc#newcode74 chrome/browser/profiles/profile_statistics.cc:74: void StatisticsCallbackImpl( On 2015/08/20 16:06:24, lwchkg wrote: > Base ...
5 years, 4 months ago (2015-08-20 16:14:28 UTC) #93
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/260001
5 years, 4 months ago (2015-08-20 17:33:54 UTC) #95
lwchkg
New patch just uploaded to address Mike's comment. (Not enough time to address Dmitry's - ...
5 years, 4 months ago (2015-08-20 17:40:28 UTC) #96
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/93317)
5 years, 4 months ago (2015-08-20 18:53:07 UTC) #98
lwchkg
Just uploaded a new patch that adds the HTML tags by JS rather than write ...
5 years, 4 months ago (2015-08-21 17:36:45 UTC) #99
Dmitry Polukhin
LGTM for chromeos files
5 years, 4 months ago (2015-08-22 10:44:42 UTC) #100
lwchkg
https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc File chrome/browser/ui/webui/signin/user_manager_screen_handler.cc (right): https://codereview.chromium.org/1248613003/diff/240001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc#newcode597 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc:597: return_value.SetBooleanWithoutPathExpansion(item.category, false); On 2015/08/20 16:06:24, lwchkg wrote: > > ...
5 years, 4 months ago (2015-08-22 15:35:30 UTC) #101
Mike Lerman
I really happy with how this looks! A few more tidy things to do, but ...
5 years, 4 months ago (2015-08-24 14:45:40 UTC) #102
Mike Lerman
lwchkg: please remove un-needed reviewers (such as Nikita and Anthony), just leave the ones who ...
5 years, 4 months ago (2015-08-24 14:47:12 UTC) #103
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/280001
5 years, 4 months ago (2015-08-24 14:49:20 UTC) #105
Mike Lerman
On 2015/08/24 14:47:12, Mike Lerman wrote: > lwchkg: please remove un-needed reviewers (such as Nikita ...
5 years, 4 months ago (2015-08-24 14:49:43 UTC) #106
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-24 15:35:54 UTC) #108
lwchkg
On 2015/08/24 14:49:43, Mike Lerman wrote: > Also: Can you please add a TEST= section ...
5 years, 4 months ago (2015-08-24 17:47:58 UTC) #110
Mike Lerman
On 2015/08/24 17:47:58, lwchkg wrote: > On 2015/08/24 14:49:43, Mike Lerman wrote: > > Also: ...
5 years, 4 months ago (2015-08-24 17:51:59 UTC) #111
lwchkg
@Mike: Just added a response to #40 in the bug. I "replied" here because I ...
5 years, 3 months ago (2015-08-26 14:43:12 UTC) #112
lwchkg
On 2015/08/24 17:51:59, Mike Lerman wrote: > Can you focus on two things? 1) How ...
5 years, 3 months ago (2015-08-26 16:12:42 UTC) #113
Mike Lerman
I've never seen someone complain for the description on the CL being too long :) ...
5 years, 3 months ago (2015-08-27 18:13:49 UTC) #114
lwchkg
> > @Mike, what is your opinion? (You may post on the bug directly.) > ...
5 years, 3 months ago (2015-08-28 13:07:02 UTC) #115
Mike Lerman
On 2015/08/28 13:07:02, lwchkg wrote: > > > @Mike, what is your opinion? (You may ...
5 years, 3 months ago (2015-08-28 14:46:04 UTC) #116
lwchkg
Just uploaded patch set 14 : Added warning messages with words "at least" which is ...
5 years, 3 months ago (2015-08-30 18:37:49 UTC) #117
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/300001
5 years, 3 months ago (2015-08-30 18:38:13 UTC) #119
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-31 01:46:31 UTC) #121
lwchkg
Dear Mike, Please see the latest patch. This patch handles singular/plural in strings correctly. Sadly ...
5 years, 3 months ago (2015-09-11 18:04:38 UTC) #122
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/320001
5 years, 3 months ago (2015-09-13 13:13:58 UTC) #124
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/69195)
5 years, 3 months ago (2015-09-13 19:15:27 UTC) #126
Mike Lerman
Still looks pretty good, although I'm not super familiar with the pluralization pattern. Can you ...
5 years, 3 months ago (2015-09-14 16:28:49 UTC) #127
lwchkg
+msramek for reviewing about pluralization. Dear msramek, Thank you for your help for pluralization and ...
5 years, 3 months ago (2015-09-15 15:01:40 UTC) #129
msramek
https://codereview.chromium.org/1248613003/diff/320001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1248613003/diff/320001/chrome/app/generated_resources.grd#newcode14084 chrome/app/generated_resources.grd:14084: + =1 {This will permanently delete $1 item from ...
5 years, 3 months ago (2015-09-15 15:33:09 UTC) #130
lwchkg
Respond to msramek's comment. https://codereview.chromium.org/1248613003/diff/320001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1248613003/diff/320001/chrome/app/generated_resources.grd#newcode14084 chrome/app/generated_resources.grd:14084: + =1 {This will permanently ...
5 years, 3 months ago (2015-09-15 19:06:28 UTC) #131
lwchkg
Hoping that I can continue working from the rebase today, but that's just too optimistic. ...
5 years, 3 months ago (2015-09-17 15:53:38 UTC) #132
Mike Lerman
On 2015/09/17 15:53:38, lwchkg wrote: > Hoping that I can continue working from the rebase ...
5 years, 3 months ago (2015-09-17 15:57:20 UTC) #133
lwchkg
-sky, -sdefrense because the files they own are already reviewed and commited in another CL. ...
5 years, 3 months ago (2015-09-20 16:14:20 UTC) #135
lwchkg
Re-uploaded patch #17 because two bugs were discovered during testing. The screenshots are taken and ...
5 years, 3 months ago (2015-09-20 17:29:08 UTC) #137
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/380001
5 years, 3 months ago (2015-09-20 17:46:49 UTC) #139
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-20 22:36:31 UTC) #141
Mike Lerman
https://codereview.chromium.org/1248613003/diff/380001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1248613003/diff/380001/chrome/app/generated_resources.grd#newcode13838 chrome/app/generated_resources.grd:13838: + <!-- Warning messages shown when attempting to remove ...
5 years, 3 months ago (2015-09-21 19:24:51 UTC) #142
lwchkg
Response to comment. Patch will be submitted soon. https://codereview.chromium.org/1248613003/diff/380001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1248613003/diff/380001/chrome/app/generated_resources.grd#newcode13838 chrome/app/generated_resources.grd:13838: + ...
5 years, 2 months ago (2015-09-28 18:54:20 UTC) #143
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/400001
5 years, 2 months ago (2015-09-28 19:06:47 UTC) #145
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-28 20:48:41 UTC) #147
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/420001
5 years, 2 months ago (2015-10-01 18:49:20 UTC) #149
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/115229)
5 years, 2 months ago (2015-10-01 18:59:07 UTC) #151
lwchkg
I've just uploaded a patch after a rebase, hopefully the last one before landing the ...
5 years, 2 months ago (2015-10-01 19:09:58 UTC) #152
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/420001
5 years, 2 months ago (2015-10-01 19:29:58 UTC) #154
Mike Lerman
On 2015/10/01 19:09:58, lwchkg wrote: > I've just uploaded a patch after a rebase, hopefully ...
5 years, 2 months ago (2015-10-01 19:36:36 UTC) #155
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-01 20:14:25 UTC) #157
lwchkg
+achuith@ as owner of userpod and ChromeOS code. Dear achuith@, Please take a look. Thanks! ...
5 years, 2 months ago (2015-10-02 23:28:48 UTC) #159
achuithb
https://codereview.chromium.org/1248613003/diff/420001/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1248613003/diff/420001/chrome/browser/profiles/profile_statistics.cc#newcode26 chrome/browser/profiles/profile_statistics.cc:26: int count; Add a ctor like ProfileStatValue(int count, bool ...
5 years, 2 months ago (2015-10-02 23:48:36 UTC) #160
achuithb
I think you want a review from Roger
5 years, 2 months ago (2015-10-02 23:50:28 UTC) #162
lwchkg
achuithb@ Thanks for your comments. I'll upload another patch tomorrow. (Sorry for slow reply because ...
5 years, 2 months ago (2015-10-09 19:36:26 UTC) #163
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/440001
5 years, 2 months ago (2015-10-11 19:21:09 UTC) #165
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-11 20:16:42 UTC) #167
Roger Tawa OOO till Jul 10th
On 2015/10/11 20:16:42, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 2 months ago (2015-10-13 15:10:45 UTC) #168
Roger Tawa OOO till Jul 10th
On 2015/10/13 15:10:45, Roger Tawa wrote: > On 2015/10/11 20:16:42, commit-bot: I haz the power ...
5 years, 2 months ago (2015-10-13 15:49:26 UTC) #170
lwchkg
On 2015/10/13 15:49:26, Roger Tawa wrote: > On 2015/10/13 15:10:45, Roger Tawa wrote: > > ...
5 years, 2 months ago (2015-10-14 16:51:50 UTC) #171
lwchkg
Anyway, I still need the l-g-t-m from achuithb for commiting this CL.
5 years, 2 months ago (2015-10-14 16:55:29 UTC) #172
achuithb
On 2015/10/14 16:55:29, lwchkg wrote: > Anyway, I still need the l-g-t-m from achuithb for ...
5 years, 2 months ago (2015-10-15 00:05:31 UTC) #173
Roger Tawa OOO till Jul 10th
lgtm Awesome lwchkg! I also discussed this with Eli, and he's good with committing as ...
5 years, 2 months ago (2015-10-16 12:22:35 UTC) #174
Roger Tawa OOO till Jul 10th
On 2015/10/16 12:22:35, Roger Tawa wrote: > lgtm > > Awesome lwchkg! I also discussed ...
5 years, 2 months ago (2015-10-16 16:52:48 UTC) #175
achuithb
lgtm
5 years, 2 months ago (2015-10-16 16:58:10 UTC) #176
anthonyvd
On 2015/10/14 16:51:50, lwchkg wrote: > On 2015/10/13 15:49:26, Roger Tawa wrote: > > On ...
5 years, 2 months ago (2015-10-16 19:32:51 UTC) #177
lwchkg
Thank you everyone. Now I'll land and continue with the ProfileInfoCache part of 501916/502346.
5 years, 2 months ago (2015-10-17 07:40:26 UTC) #178
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248613003/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248613003/440001
5 years, 2 months ago (2015-10-17 07:40:52 UTC) #181
commit-bot: I haz the power
Committed patchset #20 (id:440001)
5 years, 2 months ago (2015-10-17 09:09:25 UTC) #182
commit-bot: I haz the power
Patchset 20 (id:??) landed as https://crrev.com/3bbd8033884cca5e08fc8618670608798e2e20f8 Cr-Commit-Position: refs/heads/master@{#354679}
5 years, 2 months ago (2015-10-17 09:10:22 UTC) #183
lwchkg
5 years, 2 months ago (2015-10-17 14:06:45 UTC) #184
Message was sent while issue was closed.
Forgot to follow the comments of Roger. :-( I'll fix them in a follow-up CL.

https://codereview.chromium.org/1248613003/diff/420001/chrome/browser/profile...
File chrome/browser/profiles/profile_statistics.cc (right):

https://codereview.chromium.org/1248613003/diff/420001/chrome/browser/profile...
chrome/browser/profiles/profile_statistics.cc:40: // The class is used
internally by GetProfileStatistics function.
On 2015/10/16 12:22:35, Roger Tawa wrote:
> Put this comment above class declaration at line 30.

Acknowledged.

https://codereview.chromium.org/1248613003/diff/420001/chrome/browser/profile...
chrome/browser/profiles/profile_statistics.cc:46: base::CancelableTaskTracker*
tracker);
On 2015/10/16 12:22:35, Roger Tawa wrote:
> Don't need explicit for ctor wirh more than one arg.

Acknowledged.

Powered by Google App Engine
This is Rietveld 408576698