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

Issue 297533002: Improvements to incognito and file access metrics for extensions: only record (Closed)

Created:
6 years, 7 months ago by not at google - send to devlin
Modified:
6 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Improvements to incognito and file access metrics for extensions: only record if there is at least one extension that can be allowed for each, and exclude policy and unpacked extensions. BUG=372047 R=jar@chromium.org, rdevlin.cronin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272198

Patch Set 1 #

Total comments: 2

Patch Set 2 : unpacked #

Total comments: 16

Patch Set 3 : changea #

Patch Set 4 : renames #

Patch Set 5 : rebase #

Patch Set 6 : reabse #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -30 lines) Patch
M chrome/browser/extensions/installed_loader.cc View 1 2 3 4 3 chunks +24 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +23 lines, -16 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
not at google - send to devlin
6 years, 7 months ago (2014-05-19 21:13:19 UTC) #1
Devlin
lgtm https://codereview.chromium.org/297533002/diff/1/chrome/browser/extensions/installed_loader.cc File chrome/browser/extensions/installed_loader.cc (right): https://codereview.chromium.org/297533002/diff/1/chrome/browser/extensions/installed_loader.cc#newcode448 chrome/browser/extensions/installed_loader.cc:448: !Manifest::IsUnpackedLocation(extension->location()) && nit: You don't need the IsUnpacked ...
6 years, 7 months ago (2014-05-19 22:10:01 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/297533002/diff/1/chrome/browser/extensions/installed_loader.cc File chrome/browser/extensions/installed_loader.cc (right): https://codereview.chromium.org/297533002/diff/1/chrome/browser/extensions/installed_loader.cc#newcode448 chrome/browser/extensions/installed_loader.cc:448: !Manifest::IsUnpackedLocation(extension->location()) && On 2014/05/19 22:10:01, D Cronin wrote: > ...
6 years, 7 months ago (2014-05-19 22:15:23 UTC) #3
not at google - send to devlin
ping @ jar
6 years, 7 months ago (2014-05-20 16:11:09 UTC) #4
jar (doing other things)
I was surprised to see a total of 82 distinct histograms in the enclosed file ...
6 years, 7 months ago (2014-05-20 17:43:33 UTC) #5
not at google - send to devlin
I'll internalise your other comments and have a look at fixing them up in another ...
6 years, 7 months ago (2014-05-20 17:53:09 UTC) #6
jar (doing other things)
On 2014/05/20 17:53:09, kalman wrote: > I'll internalise your other comments and have a look ...
6 years, 7 months ago (2014-05-20 17:56:39 UTC) #7
jar (doing other things)
All the changes I suggested (to enumerated histograms) are completely backwards compatible with your existing ...
6 years, 7 months ago (2014-05-20 17:58:16 UTC) #8
not at google - send to devlin
https://codereview.chromium.org/297533002/diff/10001/chrome/browser/extensions/installed_loader.cc File chrome/browser/extensions/installed_loader.cc (right): https://codereview.chromium.org/297533002/diff/10001/chrome/browser/extensions/installed_loader.cc#newcode532 chrome/browser/extensions/installed_loader.cc:532: if (incognito + not_incognito > 0) { On 2014/05/20 ...
6 years, 7 months ago (2014-05-20 18:06:20 UTC) #9
not at google - send to devlin
I've made the change to the condition though IMO it's less readable.
6 years, 7 months ago (2014-05-20 18:15:49 UTC) #10
jar (doing other things)
Please fix up the bounds in the enumerated histograms, per earlier comments (on patch 1). ...
6 years, 7 months ago (2014-05-20 23:01:34 UTC) #11
not at google - send to devlin
On 2014/05/20 23:01:34, jar wrote: > Please fix up the bounds in the enumerated histograms, ...
6 years, 7 months ago (2014-05-20 23:16:40 UTC) #12
jar (doing other things)
On 2014/05/20 17:43:33, jar wrote: > I was surprised to see a total of 82 ...
6 years, 7 months ago (2014-05-20 23:31:36 UTC) #13
not at google - send to devlin
> Since you were modifying histograms in this file, it seemed good to clean up ...
6 years, 7 months ago (2014-05-20 23:35:29 UTC) #14
jar (doing other things)
You mentioned that this "CL ... is targeted at a specific issue...". Is the point ...
6 years, 7 months ago (2014-05-21 00:27:20 UTC) #15
not at google - send to devlin
https://codereview.chromium.org/297533002/diff/10001/chrome/browser/extensions/installed_loader.cc File chrome/browser/extensions/installed_loader.cc (right): https://codereview.chromium.org/297533002/diff/10001/chrome/browser/extensions/installed_loader.cc#newcode532 chrome/browser/extensions/installed_loader.cc:532: if (incognito + not_incognito > 0) { On 2014/05/21 ...
6 years, 7 months ago (2014-05-21 01:38:48 UTC) #16
not at google - send to devlin
On 2014/05/21 00:27:20, jar wrote: > You mentioned that this "CL ... is targeted at ...
6 years, 7 months ago (2014-05-21 01:45:34 UTC) #17
not at google - send to devlin
I've responded to your previous comments, but the updates are in this CL: https://codereview.chromium.org/299853002/ https://codereview.chromium.org/297533002/diff/10001/chrome/browser/extensions/installed_loader.cc ...
6 years, 7 months ago (2014-05-21 19:46:43 UTC) #18
not at google - send to devlin
PTAL.
6 years, 7 months ago (2014-05-21 23:41:03 UTC) #19
jar (doing other things)
lgtm https://codereview.chromium.org/297533002/diff/10001/chrome/browser/extensions/installed_loader.cc File chrome/browser/extensions/installed_loader.cc (right): https://codereview.chromium.org/297533002/diff/10001/chrome/browser/extensions/installed_loader.cc#newcode373 chrome/browser/extensions/installed_loader.cc:373: 10); On 2014/05/21 19:46:43, kalman wrote: > > ...
6 years, 7 months ago (2014-05-22 02:19:06 UTC) #20
not at google - send to devlin
6 years, 7 months ago (2014-05-22 15:48:28 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 manually as r272198 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698