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

Issue 2769813004: Revert of Simplify ExtensionInstallChecker into a single-use class (Closed)

Created:
3 years, 9 months ago by dgozman
Modified:
3 years, 9 months ago
Reviewers:
Devlin, michaelpg
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Simplify ExtensionInstallChecker into a single-use class (patchset #7 id:120001 of https://codereview.chromium.org/2751013002/ ) Reason for revert: Speculative revert for ServiceWorkerTest.ServiceWorkerSuspensionOnExtensionUnload failure on the following bot: https://uberchromegw.corp.google.com/i/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/58372 Original issue's description: > Simplify ExtensionInstallChecker into a single-use class > > ExtensionInstallChecker does asynchronous checks, and its set of checks > can be started more than once. This functionality isn't being used and > makes the class more complicated. Remove > ExtensionInstallChecker::ResetResults(). > > It's also unclear why the users of this class (CrxInstaller and > UnpackedInstaller) are intentionally storing their Profile and Extension > pointers in ExtensionInstallChecker class instead of remembering them > locally, so update that and remove > ExtensionInstallChecker::set_extension(). > > Lastly, allocate the ExtensionInstallChecker dynamically since we don't > always use it. > > BUG=none > R=rdevlin.cronin@chromium.org > > Review-Url: https://codereview.chromium.org/2751013002 > Cr-Commit-Position: refs/heads/master@{#458883} > Committed: https://chromium.googlesource.com/chromium/src/+/b24adc5bcbfde7fd67c6b23c3b0721610c77f63b TBR=rdevlin.cronin@chromium.org,michaelpg@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=none Review-Url: https://codereview.chromium.org/2769813004 Cr-Commit-Position: refs/heads/master@{#458932} Committed: https://chromium.googlesource.com/chromium/src/+/9cc4c29fd455f27d818bcca95934a2da2332459e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -204 lines) Patch
M chrome/browser/extensions/crx_installer.h View 7 chunks +6 lines, -12 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 12 chunks +25 lines, -24 lines 0 comments Download
M chrome/browser/extensions/crx_installer_browsertest.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/extension_install_checker.h View 4 chunks +25 lines, -17 lines 0 comments Download
M chrome/browser/extensions/extension_install_checker.cc View 5 chunks +47 lines, -25 lines 0 comments Download
M chrome/browser/extensions/extension_install_checker_unittest.cc View 16 chunks +216 lines, -90 lines 0 comments Download
M chrome/browser/extensions/unpacked_installer.h View 3 chunks +3 lines, -10 lines 0 comments Download
M chrome/browser/extensions/unpacked_installer.cc View 6 chunks +19 lines, -20 lines 0 comments Download
M extensions/test/extension_test_notification_observer.h View 1 chunk +1 line, -2 lines 0 comments Download
M extensions/test/extension_test_notification_observer.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
dgozman
Created Revert of Simplify ExtensionInstallChecker into a single-use class
3 years, 9 months ago (2017-03-22 23:33:39 UTC) #2
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/2769813004/1
3 years, 9 months ago (2017-03-22 23:34:40 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/9cc4c29fd455f27d818bcca95934a2da2332459e
3 years, 9 months ago (2017-03-22 23:37:13 UTC) #6
dgozman
3 years, 9 months ago (2017-03-23 00:29:54 UTC) #7
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2766303003/ by dgozman@chromium.org.

The reason for reverting is: The issue fixed itself without a revert..

Powered by Google App Engine
This is Rietveld 408576698