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

Issue 1148323007: [Extensions] Introduce a ScopedExtensionDialogAutoConfirm (Closed)

Created:
5 years, 6 months ago by Devlin
Modified:
5 years, 6 months ago
CC:
chromium-reviews, 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] Introduce a ScopedExtensionDialogAutoConfirm Introduce a ScopedExtensionDialogAutoConfirm to use in place of the ExtensionUninstallDialog::ScopedAutoConfirm and the unscoped ExtensionInstallPrompt::g_auto_confirm_for_testing. Also use this in the management api instead of it's g_auto_confirm_for_testing. TBRs for small mechanical changes. TBR=atwilson@chromium.org (c/b/policy) TBR=pkasting@chromium.org (c/b/infobars) Committed: https://crrev.com/6620949b513cc77e5cccf3b322a8b55a26bf731b Cr-Commit-Position: refs/heads/master@{#333794}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Ben's #

Total comments: 4

Patch Set 3 : Latest master && nits #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : Latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -284 lines) Patch
M chrome/browser/extensions/api/management/management_api_browsertest.cc View 1 4 chunks +35 lines, -71 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api_unittest.cc View 1 2 3 4 5 6 2 chunks +62 lines, -51 lines 0 comments Download
M chrome/browser/extensions/api/management/management_apitest.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc View 1 2 3 4 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_ui_browsertest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.h View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.cc View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_reenabler_unittest.cc View 1 5 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 4 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_storage_monitor_browsertest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_uninstall_dialog.h View 2 chunks +0 lines, -20 lines 0 comments Download
M chrome/browser/extensions/extension_uninstall_dialog.cc View 1 3 chunks +5 lines, -19 lines 0 comments Download
M chrome/browser/extensions/unpacked_installer.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/extensions/webstore_inline_installer_browsertest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/extensions/webstore_installer_test.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer_test.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/extensions/webstore_startup_installer_browsertest.cc View 10 chunks +9 lines, -19 lines 0 comments Download
M chrome/browser/infobars/infobars_browsertest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/management/management_api.h View 1 chunk +0 lines, -2 lines 0 comments Download
M extensions/browser/api/management/management_api.cc View 3 chunks +11 lines, -40 lines 0 comments Download
M extensions/browser/api/runtime/runtime_apitest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
A extensions/browser/extension_dialog_auto_confirm.h View 1 1 chunk +33 lines, -0 lines 0 comments Download
A extensions/browser/extension_dialog_auto_confirm.cc View 1 1 chunk +29 lines, -0 lines 0 comments Download
M extensions/extensions.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Devlin
Cleanup part 2! https://codereview.chromium.org/1148323007/diff/40001/chrome/browser/extensions/api/management/management_api_browsertest.cc File chrome/browser/extensions/api/management/management_api_browsertest.cc (left): https://codereview.chromium.org/1148323007/diff/40001/chrome/browser/extensions/api/management/management_api_browsertest.cc#oldcode113 chrome/browser/extensions/api/management/management_api_browsertest.cc:113: UninstallWithConfirmDialog) { This test is fully ...
5 years, 6 months ago (2015-05-29 15:29:20 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/1148323007/diff/40001/extensions/browser/extension_dialog_auto_confirm.h File extensions/browser/extension_dialog_auto_confirm.h (right): https://codereview.chromium.org/1148323007/diff/40001/extensions/browser/extension_dialog_auto_confirm.h#newcode20 extensions/browser/extension_dialog_auto_confirm.h:20: using ScopedExtensionDialogAutoConfirm = it seems like the "Extension" (and ...
5 years, 6 months ago (2015-05-30 01:13:28 UTC) #5
Devlin
Renamed
5 years, 6 months ago (2015-06-01 18:13:13 UTC) #6
not at google - send to devlin
lgtm https://codereview.chromium.org/1148323007/diff/60001/chrome/browser/extensions/unpacked_installer.cc File chrome/browser/extensions/unpacked_installer.cc (right): https://codereview.chromium.org/1148323007/diff/60001/chrome/browser/extensions/unpacked_installer.cc#newcode94 chrome/browser/extensions/unpacked_installer.cc:94: InstallUIAbort(false); could you add a break here? https://codereview.chromium.org/1148323007/diff/60001/extensions/browser/api/management/management_api.cc ...
5 years, 6 months ago (2015-06-02 08:20:09 UTC) #7
Devlin
https://codereview.chromium.org/1148323007/diff/60001/chrome/browser/extensions/unpacked_installer.cc File chrome/browser/extensions/unpacked_installer.cc (right): https://codereview.chromium.org/1148323007/diff/60001/chrome/browser/extensions/unpacked_installer.cc#newcode94 chrome/browser/extensions/unpacked_installer.cc:94: InstallUIAbort(false); On 2015/06/02 08:20:09, kalman wrote: > could you ...
5 years, 6 months ago (2015-06-10 20:35:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148323007/180001
5 years, 6 months ago (2015-06-10 20:36:22 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:180001)
5 years, 6 months ago (2015-06-10 20:44:13 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 20:45:55 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6620949b513cc77e5cccf3b322a8b55a26bf731b
Cr-Commit-Position: refs/heads/master@{#333794}

Powered by Google App Engine
This is Rietveld 408576698