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

Issue 2654443002: Should not gather statistics for a system profile. (Closed)

Created:
3 years, 11 months ago by jlebel
Modified:
3 years, 11 months ago
CC:
chromium-reviews, rginda+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Should not gather statistics for a system profile. If |profile| is not a system profile, this does not imply that |original_profile| is not a system profile. Gathering statistics should be done only for none system profile, according to: DCHECK(!profile_->IsOffTheRecord() && !profile_->IsSystemProfile()); https://cs.chromium.org/chromium/src/chrome/browser/profiles/profile_statistics.cc?q=gatherstati&sq=package:chromium&l=28 BUG=683884 Review-Url: https://codereview.chromium.org/2654443002 Cr-Commit-Position: refs/heads/master@{#445462} Committed: https://chromium.googlesource.com/chromium/src/+/8595b7aa3cd26aec6af7d4e90fecc0e31c04ea44

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/profiles/profile_manager.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
jlebel
Hello Elliot, Can you review this patch? I'm not sure |!profile->IsSystemProfile()| is still relevant in ...
3 years, 11 months ago (2017-01-23 12:24:13 UTC) #2
Elliot Glaysher
I don't know what a system profile is. Adding the original author of system profiles, ...
3 years, 11 months ago (2017-01-23 18:35:54 UTC) #4
Mike Lerman
On 2017/01/23 18:35:54, Elliot Glaysher wrote: > I don't know what a system profile is. ...
3 years, 11 months ago (2017-01-23 18:46:50 UTC) #5
Elliot Glaysher
(owners lgtm)
3 years, 11 months ago (2017-01-23 18:49:22 UTC) #6
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/2654443002/1
3 years, 11 months ago (2017-01-23 18:52:52 UTC) #8
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:21:16 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/8595b7aa3cd26aec6af7d4e90fec...

Powered by Google App Engine
This is Rietveld 408576698