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

Issue 137793011: Require user confirmation for chrome.management.uninstall except when uninstalling self. (Closed)

Created:
6 years, 11 months ago by meacer
Modified:
6 years, 11 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Require user confirmation for chrome.management.uninstall except when uninstalling self. chrome.management.uninstall is changed as follows unless the extension is trying to uninstall itself: - The confirmation dialog is shown by default. - A user gesture is required. BUG=178319 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245457

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fix ExtensionApiTest.ChromeRuntimeUninstallURL. #

Patch Set 3 : kalman comments #

Patch Set 4 : Fix another comment #

Patch Set 5 : Fix ExtensionWebstorePrivateApiTest.* and ExtensionManagementTest.ExternalPolicyRefresh #

Total comments: 4

Patch Set 6 : kalman comments #

Patch Set 7 : Fix ExtensionManagementApiBrowserTest.LaunchApp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -36 lines) Patch
M chrome/browser/extensions/api/management/management_api.cc View 1 2 3 4 5 1 chunk +13 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api_browsertest.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api_constants.cc View 1 2 1 chunk +9 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/management/management_apitest.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/runtime/runtime_apitest.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/management/management_policy/allowed.js View 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/test/data/extensions/api_test/management/management_policy/prohibited.js View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/test/data/extensions/api_test/management/test/uninstall.js View 1 2 2 chunks +27 lines, -5 lines 0 comments Download
M chrome/test/data/extensions/api_test/runtime/uninstall_url/test.js View 1 2 3 4 5 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/test/data/extensions/api_test/webstore_private/common.js View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/test/data/extensions/management/launch_app/test.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/management/uninstall_extension/background.js View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
meacer
kalman: Can you please take a look? I have another CL for changing the dialog ...
6 years, 11 months ago (2014-01-16 00:49:46 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc File chrome/browser/extensions/api/management/management_api.cc (right): https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc#newcode612 chrome/browser/extensions/api/management/management_api.cc:612: if (extension_ && params->id == extension_->id()) { If you're ...
6 years, 11 months ago (2014-01-16 01:13:41 UTC) #2
meacer
https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc File chrome/browser/extensions/api/management/management_api.cc (right): https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc#newcode612 chrome/browser/extensions/api/management/management_api.cc:612: if (extension_ && params->id == extension_->id()) { On 2014/01/16 ...
6 years, 11 months ago (2014-01-16 01:59:19 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc File chrome/browser/extensions/api/management/management_api.cc (right): https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc#newcode615 chrome/browser/extensions/api/management/management_api.cc:615: show_confirm_dialog = *params->options->show_confirm_dialog; On 2014/01/16 01:59:19, Mustafa Emre ...
6 years, 11 months ago (2014-01-16 05:07:38 UTC) #4
meacer
https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc File chrome/browser/extensions/api/management/management_api.cc (right): https://codereview.chromium.org/137793011/diff/1/chrome/browser/extensions/api/management/management_api.cc#newcode615 chrome/browser/extensions/api/management/management_api.cc:615: show_confirm_dialog = *params->options->show_confirm_dialog; On 2014/01/16 05:07:39, kalman wrote: > ...
6 years, 11 months ago (2014-01-16 18:59:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/137793011/300001
6 years, 11 months ago (2014-01-16 19:00:35 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=247472
6 years, 11 months ago (2014-01-16 20:37:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/137793011/560001
6 years, 11 months ago (2014-01-16 22:58:46 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 07:06:55 UTC) #9
Message was sent while issue was closed.
Change committed as 245457

Powered by Google App Engine
This is Rietveld 408576698