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

Issue 850283003: Add a new webstorePrivate API to show a permission prompt for delegated installs (Closed)

Created:
5 years, 11 months ago by Marc Treib
Modified:
5 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, terezka_google.com, toddknight_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@testext_permission_prompt
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a new webstorePrivate API to show a permission prompt for delegated installs (i.e. remote installs for another user). Also add a new permission prompt type for this case. Design doc (slightly outdated wrt naming): https://docs.google.com/document/d/1gXvIt0TMMGVMWlIdaLZAGB_V2CbHO24-UL5WHL5siOc/edit#heading=h.bawdzzep787b BUG=397951 Committed: https://crrev.com/2d2f537164f03ecc0c7f0a67f963f9feface12a1 Cr-Commit-Position: refs/heads/master@{#318621}

Patch Set 1 #

Patch Set 2 : fix,rebase #

Patch Set 3 : rebase,string #

Patch Set 4 : allow dashboard #

Total comments: 20

Patch Set 5 : review #

Patch Set 6 : rebase #

Patch Set 7 : cleanup #

Patch Set 8 : rebase #

Total comments: 4

Patch Set 9 : common base class #

Total comments: 8

Patch Set 10 : review #

Total comments: 4

Patch Set 11 : histograms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -112 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.h View 1 2 3 4 5 6 7 8 9 4 chunks +81 lines, -19 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 3 4 5 6 7 8 9 7 chunks +163 lines, -90 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_install_prompt.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +34 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/webstore_private.json View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (6 generated)
Marc Treib
Hi Benjamin, can you PTAL? I'll add the other required OWNERS later if you think ...
5 years, 10 months ago (2015-02-04 12:34:25 UTC) #2
Marc Treib
[Semi-random note: I'm aware that the permissions strings aren't appropriate for this usage right now, ...
5 years, 10 months ago (2015-02-04 12:39:00 UTC) #3
not at google - send to devlin
https://codereview.chromium.org/850283003/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/850283003/diff/60001/chrome/app/generated_resources.grd#newcode4252 chrome/app/generated_resources.grd:4252: + Confirm Installation for <ph name="USER_NAME">$1<ex>Wallace</ex></ph> Is there any ...
5 years, 10 months ago (2015-02-04 21:28:29 UTC) #4
Marc Treib
https://codereview.chromium.org/850283003/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/850283003/diff/60001/chrome/app/generated_resources.grd#newcode4252 chrome/app/generated_resources.grd:4252: + Confirm Installation for <ph name="USER_NAME">$1<ex>Wallace</ex></ph> On 2015/02/04 21:28:28, ...
5 years, 10 months ago (2015-02-05 10:33:37 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/850283003/diff/60001/chrome/browser/resources/webstore_app/manifest.json File chrome/browser/resources/webstore_app/manifest.json (right): https://codereview.chromium.org/850283003/diff/60001/chrome/browser/resources/webstore_app/manifest.json#newcode16 chrome/browser/resources/webstore_app/manifest.json:16: "https://www.google.com/settings/chrome/manage", On 2015/02/05 10:33:37, Marc Treib wrote: > On ...
5 years, 10 months ago (2015-02-05 17:34:20 UTC) #6
Marc Treib
https://codereview.chromium.org/850283003/diff/60001/chrome/browser/resources/webstore_app/manifest.json File chrome/browser/resources/webstore_app/manifest.json (right): https://codereview.chromium.org/850283003/diff/60001/chrome/browser/resources/webstore_app/manifest.json#newcode16 chrome/browser/resources/webstore_app/manifest.json:16: "https://www.google.com/settings/chrome/manage", On 2015/02/05 17:34:20, kalman wrote: > On 2015/02/05 ...
5 years, 10 months ago (2015-02-06 13:58:17 UTC) #7
not at google - send to devlin
I'll wait until this is rebased on the other CL to review again.
5 years, 10 months ago (2015-02-06 18:25:36 UTC) #8
not at google - send to devlin
https://codereview.chromium.org/850283003/diff/60001/chrome/browser/resources/webstore_app/manifest.json File chrome/browser/resources/webstore_app/manifest.json (right): https://codereview.chromium.org/850283003/diff/60001/chrome/browser/resources/webstore_app/manifest.json#newcode16 chrome/browser/resources/webstore_app/manifest.json:16: "https://www.google.com/settings/chrome/manage", > I see, thanks. Still somewhat surprising that ...
5 years, 10 months ago (2015-02-06 18:27:55 UTC) #9
Marc Treib
On 2015/02/06 18:25:36, kalman wrote: > I'll wait until this is rebased on the other ...
5 years, 10 months ago (2015-02-24 11:52:06 UTC) #10
not at google - send to devlin
https://codereview.chromium.org/850283003/diff/140001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc File chrome/browser/extensions/api/webstore_private/webstore_private_api.cc (right): https://codereview.chromium.org/850283003/diff/140001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc#newcode530 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:530: WebstorePrivateShowPermissionPromptForDelegatedInstallFunction::Run() { Is there a nice way to factor ...
5 years, 10 months ago (2015-02-24 18:30:01 UTC) #11
Marc Treib
https://codereview.chromium.org/850283003/diff/140001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc File chrome/browser/extensions/api/webstore_private/webstore_private_api.cc (right): https://codereview.chromium.org/850283003/diff/140001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc#newcode530 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:530: WebstorePrivateShowPermissionPromptForDelegatedInstallFunction::Run() { On 2015/02/24 18:30:00, kalman wrote: > Is ...
5 years, 10 months ago (2015-02-25 13:38:47 UTC) #12
not at google - send to devlin
Sorry for my lack of understanding, but I think... basically done here, though it would ...
5 years, 10 months ago (2015-02-25 17:23:00 UTC) #13
not at google - send to devlin
https://codereview.chromium.org/850283003/diff/160001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc File chrome/browser/extensions/api/webstore_private/webstore_private_api.cc (right): https://codereview.chromium.org/850283003/diff/160001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc#newcode258 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:258: if (RunImpl(&result, &error)) On 2015/02/25 17:23:00, kalman wrote: > ...
5 years, 10 months ago (2015-02-25 17:24:41 UTC) #14
Marc Treib
One more try :) I thought about adding tests, but all the failure cases (invalid ...
5 years, 10 months ago (2015-02-26 11:49:58 UTC) #15
not at google - send to devlin
lgtm https://codereview.chromium.org/850283003/diff/160001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc File chrome/browser/extensions/api/webstore_private/webstore_private_api.cc (right): https://codereview.chromium.org/850283003/diff/160001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc#newcode593 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:593: ShowPermissionPromptForDelegatedInstall::Results::Create(result)); On 2015/02/26 11:49:58, Marc Treib wrote: > ...
5 years, 9 months ago (2015-02-26 17:25:08 UTC) #16
Marc Treib
https://codereview.chromium.org/850283003/diff/180001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc File chrome/browser/extensions/api/webstore_private/webstore_private_api.cc (right): https://codereview.chromium.org/850283003/diff/180001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc#newcode452 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:452: WebstorePrivateBeginInstallWithManifest3Function::CreateResults( On 2015/02/26 17:25:08, kalman wrote: > You can ...
5 years, 9 months ago (2015-02-27 09:33:19 UTC) #17
Marc Treib
+mpearson: Can I get an OWNERS review for histograms, please? Thanks!
5 years, 9 months ago (2015-02-27 16:20:04 UTC) #19
not at google - send to devlin
https://codereview.chromium.org/850283003/diff/180001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc File chrome/browser/extensions/api/webstore_private/webstore_private_api.cc (right): https://codereview.chromium.org/850283003/diff/180001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc#newcode452 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:452: WebstorePrivateBeginInstallWithManifest3Function::CreateResults( On 2015/02/27 09:33:19, Marc Treib wrote: > On ...
5 years, 9 months ago (2015-02-27 16:24:03 UTC) #20
Mark P
histograms.xml lgtm
5 years, 9 months ago (2015-02-27 16:52:18 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/850283003/200001
5 years, 9 months ago (2015-02-28 17:19:25 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/2030) linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 9 months ago (2015-02-28 17:39:34 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/850283003/200001
5 years, 9 months ago (2015-03-01 11:27:26 UTC) #28
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 9 months ago (2015-03-01 12:21:01 UTC) #29
commit-bot: I haz the power
5 years, 9 months ago (2015-03-01 12:21:53 UTC) #30
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/2d2f537164f03ecc0c7f0a67f963f9feface12a1
Cr-Commit-Position: refs/heads/master@{#318621}

Powered by Google App Engine
This is Rietveld 408576698