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

Issue 270793002: webstorePrivate: Support an |authuser| property in beginInstallWithManifest3. (Closed)

Created:
6 years, 7 months ago by Ken Rockot(use gerrit already)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

webstorePrivate: Support an |authuser| property in beginInstallWithManifest3. This adds support for an optional |authuser| integer property in the |details| object passed to beginInstallWithManifest3. This value is propagated down to the WebstoreInstaller and used to augment the CRX download request with a standard-ish |authuser| query parameter corresponding to the index of the installing user within a multi-login session. BUG=371100 R=asargent@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269420

Patch Set 1 #

Patch Set 2 : Resolve->ReplaceComponents #

Total comments: 2

Patch Set 3 : add comment #

Patch Set 4 : and another (TODO) #

Patch Set 5 : Let authuser pass thru as a string rather than forcing int #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -3 lines) Patch
M chrome/browser/extensions/api/webstore_private/webstore_private_api.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 2 3 4 3 chunks +36 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/webstore_private.json View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/webstore_private/begin_install.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/constants.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ken Rockot(use gerrit already)
Antony could you please take a look at this as well?
6 years, 7 months ago (2014-05-08 01:24:45 UTC) #1
Ken Rockot(use gerrit already)
As with the other CL, I've replaced Resolve with ReplaceComponents here.
6 years, 7 months ago (2014-05-08 15:51:59 UTC) #2
asargent_no_longer_on_chrome
lgtm w/ nits https://codereview.chromium.org/270793002/diff/20001/chrome/browser/extensions/webstore_installer.cc File chrome/browser/extensions/webstore_installer.cc (right): https://codereview.chromium.org/270793002/diff/20001/chrome/browser/extensions/webstore_installer.cc#newcode89 chrome/browser/extensions/webstore_installer.cc:89: const char kAuthUserQueryKey[] = "authuser"; nit: ...
6 years, 7 months ago (2014-05-08 16:06:05 UTC) #3
Ken Rockot(use gerrit already)
Thanks. TODOs added for now, as I may have bigger plans for CRX download.
6 years, 7 months ago (2014-05-08 16:18:21 UTC) #4
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 7 months ago (2014-05-08 16:18:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/270793002/50001
6 years, 7 months ago (2014-05-08 16:22:59 UTC) #6
Ken Rockot(use gerrit already)
The CQ bit was unchecked by rockot@chromium.org
6 years, 7 months ago (2014-05-08 20:32:16 UTC) #7
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 7 months ago (2014-05-08 20:53:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/270793002/50001
6 years, 7 months ago (2014-05-08 21:00:03 UTC) #9
Ken Rockot(use gerrit already)
The CQ bit was unchecked by rockot@chromium.org
6 years, 7 months ago (2014-05-08 21:19:09 UTC) #10
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 7 months ago (2014-05-08 22:01:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/270793002/70001
6 years, 7 months ago (2014-05-08 22:08:28 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 21:41:42 UTC) #13
Message was sent while issue was closed.
Change committed as 269420

Powered by Google App Engine
This is Rietveld 408576698