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

Issue 2019423007: Re-enable extensions disabled due to permission increase if they have all permissions (Closed)

Created:
4 years, 6 months ago by Marc Treib
Modified:
4 years, 6 months ago
Reviewers:
Devlin, Steven Holte
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ext_update_test
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-enable extensions disabled due to permission increase if they have all permissions BUG=616474 Committed: https://crrev.com/6e51bca1d4a7213bbf926104457eb3e2a22f6999 Cr-Commit-Position: refs/heads/master@{#399876}

Patch Set 1 #

Total comments: 10

Patch Set 2 : fix startup, add tests #

Total comments: 9

Patch Set 3 : review #

Patch Set 4 : is_extension_installed -> is_extension_loaded #

Total comments: 2

Patch Set 5 : histogram nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -16 lines) Patch
M chrome/browser/extensions/extension_service.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 7 chunks +31 lines, -14 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 2 chunks +165 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/permissions/update_5/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
Devlin
https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service_unittest.cc#newcode1525 chrome/browser/extensions/extension_service_unittest.cc:1525: TEST_F(ExtensionServiceTest, ReenableWithAllPermissionsGranted) { How does this differ from the ...
4 years, 6 months ago (2016-06-02 16:05:55 UTC) #2
Devlin
https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service.cc#newcode1645 chrome/browser/extensions/extension_service.cc:1645: // fact have all permissions, remove that disable reason. ...
4 years, 6 months ago (2016-06-02 16:06:45 UTC) #3
Marc Treib
https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service.cc#newcode1645 chrome/browser/extensions/extension_service.cc:1645: // fact have all permissions, remove that disable reason. ...
4 years, 6 months ago (2016-06-02 16:36:15 UTC) #4
Devlin
I see "done"s, but no updated patch set? https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2019423007/diff/1/chrome/browser/extensions/extension_service.cc#newcode1645 chrome/browser/extensions/extension_service.cc:1645: // ...
4 years, 6 months ago (2016-06-03 15:26:58 UTC) #5
Marc Treib
On 2016/06/03 15:26:58, Devlin wrote: > I see "done"s, but no updated patch set? Ah, ...
4 years, 6 months ago (2016-06-03 15:42:12 UTC) #6
Marc Treib
PTAL - I've added tests for the "startup" scenario, and they actually uncovered a problem! ...
4 years, 6 months ago (2016-06-10 14:12:17 UTC) #7
Devlin
mostly lg, but would like to see some UMA added https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc#newcode1639 ...
4 years, 6 months ago (2016-06-10 19:05:52 UTC) #8
Marc Treib
https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc#newcode1639 chrome/browser/extensions/extension_service.cc:1639: // fact have all permissions, remove that disable reason. ...
4 years, 6 months ago (2016-06-13 11:54:59 UTC) #9
Devlin
lgtm https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc#newcode1639 chrome/browser/extensions/extension_service.cc:1639: // fact have all permissions, remove that disable ...
4 years, 6 months ago (2016-06-13 13:51:50 UTC) #10
Marc Treib
https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2019423007/diff/20001/chrome/browser/extensions/extension_service.cc#newcode1639 chrome/browser/extensions/extension_service.cc:1639: // fact have all permissions, remove that disable reason. ...
4 years, 6 months ago (2016-06-14 15:24:26 UTC) #11
Marc Treib
+holte for histograms - PTAL!
4 years, 6 months ago (2016-06-14 15:25:10 UTC) #13
Steven Holte
histograms.xml lgtm % nit https://codereview.chromium.org/2019423007/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2019423007/diff/60001/tools/metrics/histograms/histograms.xml#newcode15449 tools/metrics/histograms/histograms.xml:15449: +<histogram name="Extensions.ResetPermissionsIncrease" units="boolean"> This should ...
4 years, 6 months ago (2016-06-15 02:46:25 UTC) #14
Marc Treib
https://codereview.chromium.org/2019423007/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2019423007/diff/60001/tools/metrics/histograms/histograms.xml#newcode15449 tools/metrics/histograms/histograms.xml:15449: +<histogram name="Extensions.ResetPermissionsIncrease" units="boolean"> On 2016/06/15 02:46:25, Steven Holte wrote: ...
4 years, 6 months ago (2016-06-15 07:41:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019423007/80001
4 years, 6 months ago (2016-06-15 08:05:13 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/87881)
4 years, 6 months ago (2016-06-15 09:22:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019423007/80001
4 years, 6 months ago (2016-06-15 09:57:55 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-15 10:26:47 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-15 10:26:53 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 10:28:15 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6e51bca1d4a7213bbf926104457eb3e2a22f6999
Cr-Commit-Position: refs/heads/master@{#399876}

Powered by Google App Engine
This is Rietveld 408576698