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

Issue 8430033: Adds a webstorePrivate method for silently installing extensions. (Closed)

Created:
9 years, 1 month ago by jstritar
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Adds a webstorePrivate method for silently installing extensions. BUG=98687 TEST=*WebstorePrivate* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108367

Patch Set 1 #

Patch Set 2 : . #

Total comments: 11

Patch Set 3 : feedback #

Patch Set 4 : move test data to another CL #

Patch Set 5 : include test files for now #

Patch Set 6 : . #

Patch Set 7 : remove SetResult #

Patch Set 8 : feedback #

Patch Set 9 : remove dcheck #

Total comments: 4

Patch Set 10 : mihai #

Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -26 lines) Patch
M chrome/browser/extensions/crx_installer.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_webstore_private_api.h View 1 2 3 4 5 6 2 chunks +35 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_webstore_private_api.cc View 1 2 3 4 5 6 7 8 9 4 chunks +115 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_webstore_private_apitest.cc View 1 2 3 4 5 6 7 3 chunks +51 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 2 3 4 5 6 7 6 chunks +59 lines, -16 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 6 7 2 chunks +31 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/bundle/begfmnajjkbjdgmffnjaojchoncnmngg.pem View 1 2 4 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/bundle/begfmnajjkbjdgmffnjaojchoncnmngg/manifest.json View 1 2 4 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/bundle/bmfoocgfinpmkmlbjhcbofejhkhlbchk.pem View 1 2 4 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/bundle/bmfoocgfinpmkmlbjhcbofejhkhlbchk/manifest.json View 1 2 4 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/bundle/mpneghmdnmaolkljkipbhaienajcflfe.pem View 1 2 4 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/bundle/mpneghmdnmaolkljkipbhaienajcflfe/content_script.js View 1 2 4 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/bundle/mpneghmdnmaolkljkipbhaienajcflfe/manifest.json View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/webstore_private/common.js View 1 2 1 chunk +11 lines, -4 lines 0 comments Download
A chrome/test/data/extensions/api_test/webstore_private/silently_install.html View 1 2 3 4 5 6 7 8 9 1 chunk +71 lines, -0 lines 0 comments Download
M content/browser/download/download_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
jstritar
9 years, 1 month ago (2011-11-01 15:12:10 UTC) #1
Aaron Boodman
It's also possible to have completely silent UI by just passing NULL to CrxInstaller for ...
9 years, 1 month ago (2011-11-01 17:24:34 UTC) #2
jstritar
On 2011/11/01 17:24:34, Aaron Boodman wrote: > http://codereview.chromium.org/8430033/diff/3001/chrome/test/data/extensions/api_test/webstore_private/silently_install.html > File chrome/test/data/extensions/api_test/webstore_private/silently_install.html > (right): > > ...
9 years, 1 month ago (2011-11-01 17:48:23 UTC) #3
jstritar
I don't think we can move the whitelist to download_crx_util (to set client* to NULL) ...
9 years, 1 month ago (2011-11-01 19:43:05 UTC) #4
Aaron Boodman
Also did you see my question about removing the crx files? http://codereview.chromium.org/8430033/diff/3001/chrome/browser/extensions/extension_webstore_private_api.cc File chrome/browser/extensions/extension_webstore_private_api.cc (right): ...
9 years, 1 month ago (2011-11-02 04:16:55 UTC) #5
jstritar
The test now generates the crx files (sorry for taking a shortcut earlier). I also ...
9 years, 1 month ago (2011-11-02 18:28:05 UTC) #6
jstritar
I removed the DCHECK for now. They will be providing a better fix next week.
9 years, 1 month ago (2011-11-02 19:10:51 UTC) #7
jstritar
+rdsmith for removing the DCHECK from DownloadManager
9 years, 1 month ago (2011-11-02 19:11:31 UTC) #8
jstritar
On 2011/11/02 19:11:31, jstritar wrote: > +rdsmith for removing the DCHECK from DownloadManager
9 years, 1 month ago (2011-11-02 19:12:05 UTC) #9
Randy Smith (Not in Mondays)
downloads_manager.cc LGTM.
9 years, 1 month ago (2011-11-02 19:28:46 UTC) #10
Aaron Boodman
thanks, lgtm
9 years, 1 month ago (2011-11-02 19:34:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/8430033/5053
9 years, 1 month ago (2011-11-02 20:55:59 UTC) #12
Mihai Parparita -not on Chrome
LGTM http://codereview.chromium.org/8430033/diff/5053/chrome/browser/extensions/extension_webstore_private_api.cc File chrome/browser/extensions/extension_webstore_private_api.cc (right): http://codereview.chromium.org/8430033/diff/5053/chrome/browser/extensions/extension_webstore_private_api.cc#newcode83 chrome/browser/extensions/extension_webstore_private_api.cc:83: (id == "begfmnajjkbjdgmffnjaojchoncnmngg" || Nit: Have you considered ...
9 years, 1 month ago (2011-11-02 21:05:09 UTC) #13
jstritar
http://codereview.chromium.org/8430033/diff/5053/chrome/browser/extensions/extension_webstore_private_api.cc File chrome/browser/extensions/extension_webstore_private_api.cc (right): http://codereview.chromium.org/8430033/diff/5053/chrome/browser/extensions/extension_webstore_private_api.cc#newcode83 chrome/browser/extensions/extension_webstore_private_api.cc:83: (id == "begfmnajjkbjdgmffnjaojchoncnmngg" || On 2011/11/02 21:05:09, Mihai Parparita ...
9 years, 1 month ago (2011-11-02 21:20:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/8430033/6033
9 years, 1 month ago (2011-11-02 21:20:57 UTC) #15
commit-bot: I haz the power
9 years, 1 month ago (2011-11-02 23:53:49 UTC) #16
Change committed as 108367

Powered by Google App Engine
This is Rietveld 408576698