Chromium Code Reviews
DescriptiondeveloperPrivate.repair: Skip not-corrupted and policy extensions.
Currently if we call repair() on a policy extension that is not
corrupted, it will:
1. First uninstall the extension
2. Then attempt to reinstall the extension. However this will fail b/c
our code thinks the user is trying to manually install a policy forced
extension (ExtensionInstallChecker::CheckManagementPolicy() ->
PolicyCheck::Start)
Simpler fix is to just disallow policy extensions.
Then, it we shouldn't attempt to repair any extension that is not corrupted
BUG=577959
Test=See bug description for repro.
Review-Url: https://codereview.chromium.org/2801583003
Cr-Commit-Position: refs/heads/master@{#463085}
Committed: https://chromium.googlesource.com/chromium/src/+/a00eafcea5becf94333233003d24f6881f5efcdb
Patch Set 1 #
Total comments: 10
Patch Set 2 : comments #Patch Set 3 : sync + comments #
Total comments: 6
Patch Set 4 : address comments #Patch Set 5 : change #
Total comments: 10
Patch Set 6 : adress comments #
Total comments: 14
Patch Set 7 : address comments #Patch Set 8 : fix WebstoreReinsallerBrowserTest #Messages
Total messages: 35 (23 generated)
|