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

Issue 2647783003: Reenable disabled component extensions with profile resetter. (Closed)

Created:
3 years, 11 months ago by mtomasz
Modified:
3 years, 10 months ago
Reviewers:
lazyboy, battre
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reenable disabled component extensions with profile resetter. Sice disabled extensions are synced and component extensions do not have a UI for reenabling them, once disabled will stay disabled forever. It happened that for some reason some component extensions were disabled. The reason is unknown, but at least users will be able to recover from this situation by using the profile resetter. Note, that we allow to disable component extensions programatically, which was used at least for the Hotword component extension. TEST=Disable a component extension programatically, then reset the profile in chrome://settings. BUG=680429 Review-Url: https://codereview.chromium.org/2647783003 Cr-Commit-Position: refs/heads/master@{#446575} Committed: https://chromium.googlesource.com/chromium/src/+/622f70d2786a5dd446c45fa8222ce2d14d98cbf5

Patch Set 1 #

Patch Set 2 : Limit to external components + add tests. #

Total comments: 4

Patch Set 3 : Cleanup. #

Patch Set 4 : Fixed. #

Total comments: 8

Patch Set 5 : Fixed. #

Patch Set 6 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -0 lines) Patch
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 2 chunks +43 lines, -0 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter.cc View 1 2 3 4 5 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter_unittest.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (22 generated)
mtomasz
@battre: PTAL at chrome/browser/profile_resetter/* @rdevlin.cronin: PTAL at extension_service_unittest.cc Thanks.
3 years, 11 months ago (2017-01-20 05:55:24 UTC) #5
battre
lgtm https://codereview.chromium.org/2647783003/diff/20001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/2647783003/diff/20001/chrome/browser/extensions/extension_service_unittest.cc#newcode265 chrome/browser/extensions/extension_service_unittest.cc:265: bool installed_by_default) { type and installed_by_default are not ...
3 years, 11 months ago (2017-01-20 07:17:05 UTC) #8
mtomasz
Thanks! https://codereview.chromium.org/2647783003/diff/20001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/2647783003/diff/20001/chrome/browser/extensions/extension_service_unittest.cc#newcode265 chrome/browser/extensions/extension_service_unittest.cc:265: bool installed_by_default) { On 2017/01/20 07:17:05, battre wrote: ...
3 years, 11 months ago (2017-01-20 07:24:49 UTC) #9
mtomasz
@lazyboy: PTAL at extension_service_unittest.cc. Thanks.
3 years, 11 months ago (2017-01-24 00:26:16 UTC) #15
lazyboy
https://codereview.chromium.org/2647783003/diff/60001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/2647783003/diff/60001/chrome/browser/extensions/extension_service_unittest.cc#newcode6424 chrome/browser/extensions/extension_service_unittest.cc:6424: // As for components, only non-external component extensions can ...
3 years, 11 months ago (2017-01-24 03:30:01 UTC) #16
mtomasz
https://codereview.chromium.org/2647783003/diff/60001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/2647783003/diff/60001/chrome/browser/extensions/extension_service_unittest.cc#newcode6424 chrome/browser/extensions/extension_service_unittest.cc:6424: // As for components, only non-external component extensions can ...
3 years, 11 months ago (2017-01-26 08:47:06 UTC) #18
lazyboy
lgtm
3 years, 10 months ago (2017-01-26 18:19:24 UTC) #22
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/2647783003/80001
3 years, 10 months ago (2017-01-27 00:38:32 UTC) #25
commit-bot: I haz the power
Failed to apply patch for chrome/browser/profile_resetter/profile_resetter.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-01-27 01:08:13 UTC) #27
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/2647783003/100001
3 years, 10 months ago (2017-01-27 02:08:02 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/622f70d2786a5dd446c45fa8222ce2d14d98cbf5
3 years, 10 months ago (2017-01-27 03:37:03 UTC) #33
mtomasz
3 years, 5 months ago (2017-07-10 08:54:29 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2974033002/ by mtomasz@chromium.org.

The reason for reverting is: It didn't work as expected, so removing dead code..

Powered by Google App Engine
This is Rietveld 408576698