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

Issue 2387793002: Whitelist for metricsPrivate.getIsCrashReportingEnabled (Closed)

Created:
4 years, 2 months ago by michaelpg
Modified:
4 years, 2 months ago
Reviewers:
Devlin, Ilya Sherman
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Whitelist for metricsPrivate.getIsCrashReportingEnabled Whitelists the metricsPrivate.getIsCrashReportingEnabled() extension API function separately from the rest of the metricsPrivate API. This should prompt developers to get an OWNERS review for new usages of getIsCrashReportingEnabled(). It's implemented as a feature whitelist instead of a permission whitelist so that existing uses will continue to work. To that end, also whitelists all extensions that are already whitelisted for the metricsPrivate permission as a starting point. BUG=374199, 647397 Committed: https://crrev.com/3d1a7fba3851df28c1dfd7c786233131ce17cf93 Cr-Commit-Position: refs/heads/master@{#422911}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 10

Patch Set 3 : Reduce whitelist length #

Patch Set 4 : update comment #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 2 chunks +39 lines, -1 line 0 comments Download

Messages

Total messages: 20 (6 generated)
michaelpg
As decided earlier this week, we whitelist this function separately and document metrics ownership. LMK ...
4 years, 2 months ago (2016-09-30 21:10:34 UTC) #3
Devlin
https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json#newcode599 chrome/common/extensions/api/_api_features.json:599: "whitelist": [ Can you clarify what the intent here ...
4 years, 2 months ago (2016-10-01 01:01:58 UTC) #4
michaelpg
https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json#newcode599 chrome/common/extensions/api/_api_features.json:599: "whitelist": [ On 2016/10/01 01:01:58, Devlin (catching up) wrote: ...
4 years, 2 months ago (2016-10-01 01:47:09 UTC) #5
Devlin
https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json#newcode599 chrome/common/extensions/api/_api_features.json:599: "whitelist": [ On 2016/10/01 01:47:09, michaelpg wrote: > On ...
4 years, 2 months ago (2016-10-01 02:03:44 UTC) #6
Ilya Sherman
Thanks for following up on this! https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json#newcode588 chrome/common/extensions/api/_api_features.json:588: "default_parent": true What ...
4 years, 2 months ago (2016-10-03 21:11:10 UTC) #7
michaelpg
On 2016/10/03 21:11:10, Ilya Sherman wrote: > Thanks for following up on this! > > ...
4 years, 2 months ago (2016-10-03 21:43:21 UTC) #8
Ilya Sherman
On 2016/10/03 21:43:21, michaelpg wrote: > On 2016/10/03 21:11:10, Ilya Sherman wrote: > > Thanks ...
4 years, 2 months ago (2016-10-03 21:52:40 UTC) #9
michaelpg
Narrowed the list down best I could. PTAL. https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json#newcode599 chrome/common/extensions/api/_api_features.json:599: "whitelist": ...
4 years, 2 months ago (2016-10-04 00:53:09 UTC) #10
Ilya Sherman
LGTM, thanks.
4 years, 2 months ago (2016-10-04 01:17:07 UTC) #11
michaelpg
https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/2387793002/diff/20001/chrome/common/extensions/api/_api_features.json#newcode588 chrome/common/extensions/api/_api_features.json:588: "default_parent": true On 2016/10/03 21:11:10, Ilya Sherman wrote: > ...
4 years, 2 months ago (2016-10-04 19:21:33 UTC) #12
Devlin
lgtm; thanks for your investigation, Michael!
4 years, 2 months ago (2016-10-04 19:23:02 UTC) #13
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/2387793002/80001
4 years, 2 months ago (2016-10-04 19:47:03 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-04 20:31:13 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 20:34:14 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3d1a7fba3851df28c1dfd7c786233131ce17cf93
Cr-Commit-Position: refs/heads/master@{#422911}

Powered by Google App Engine
This is Rietveld 408576698