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

Issue 1527043002: [Extensions] Don't use ExtensionInstallPrompt subclasses for auto-confirmation (Closed)

Created:
5 years ago by Devlin
Modified:
5 years ago
CC:
chromium-reviews, asanka, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Don't use ExtensionInstallPrompt subclasses for auto-confirmation There's a ScopedTestDialogAutoConfirm object that the ExtensionInstallPrompt checks in order to perform auto acceptance/cancelation. This is a lot simpler than subclassing the entire dialog, and results in more consistent test behavior. Use it in the place of subclasses when possible. BUG=570021 TBR=rdsmith@chromium.org (mechanical c/b/download changes) Committed: https://crrev.com/ca5bf2da38ae9e4c3e8c6278805a95caf7128add Cr-Commit-Position: refs/heads/master@{#365884}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -172 lines) Patch
M chrome/browser/download/download_browsertest.cc View 8 chunks +12 lines, -68 lines 0 comments Download
M chrome/browser/extensions/crx_installer_browsertest.cc View 12 chunks +30 lines, -24 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 5 chunks +14 lines, -41 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.h View 1 2 3 chunks +17 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.cc View 1 2 3 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/extensions/webstore_inline_installer_browsertest.cc View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc View 2 chunks +5 lines, -18 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Devlin
5 years ago (2015-12-15 22:12:00 UTC) #4
asargent_no_longer_on_chrome
nice, lgtm
5 years ago (2015-12-15 23:29:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527043002/60001
5 years ago (2015-12-17 19:49:01 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/130061)
5 years ago (2015-12-17 20:52:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527043002/60001
5 years ago (2015-12-17 21:08:07 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years ago (2015-12-17 21:21:20 UTC) #15
commit-bot: I haz the power
5 years ago (2015-12-17 21:22:18 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ca5bf2da38ae9e4c3e8c6278805a95caf7128add
Cr-Commit-Position: refs/heads/master@{#365884}

Powered by Google App Engine
This is Rietveld 408576698