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

Issue 617833003: Remove --install-from-webstore and --limited-install-from-webstore (Closed)

Created:
6 years, 2 months ago by Devlin
Modified:
6 years, 2 months ago
Reviewers:
tapted, Yoyo Zhou, levin, sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, grt+watch_chromium.org, wfh+watch_chromium.org, tfarina, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove --install-from-webstore and --limited-install-from-webstore Both these switches should be removed, as they allow malware to potentially install extensions on a user's computer. Since the --install-from-webstore switch is also being used to install ephemeral apps, rename it to --install-ephemeral-app-from-webstore, and ensure that this only works on installed ephemeral apps on Windows. (This has sufficient checks in place, such as an extension of the same ID already being installed, that this is safe.) BUG=410833 Committed: https://crrev.com/462b2fbc2e486d47ab682770418fa6deacfe67be Cr-Commit-Position: refs/heads/master@{#297868}

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -140 lines) Patch
M chrome/browser/extensions/extension_service.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/startup_helper.h View 1 chunk +4 lines, -18 lines 0 comments Download
M chrome/browser/extensions/startup_helper.cc View 6 chunks +21 lines, -57 lines 0 comments Download
M chrome/browser/extensions/webstore_startup_installer_browsertest.cc View 1 chunk +3 lines, -44 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_result_codes.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Devlin
Trent and Yoyo, can you take a look?
6 years, 2 months ago (2014-10-01 17:25:43 UTC) #5
Yoyo Zhou
LGTM; are all the ephemeral apps folks aware of this change?
6 years, 2 months ago (2014-10-01 20:41:09 UTC) #6
Devlin
On 2014/10/01 20:41:09, Yoyo Zhou wrote: > LGTM; are all the ephemeral apps folks aware ...
6 years, 2 months ago (2014-10-01 20:43:50 UTC) #7
tapted
On 2014/10/01 20:43:50, Devlin wrote: > On 2014/10/01 20:41:09, Yoyo Zhou wrote: > > LGTM; ...
6 years, 2 months ago (2014-10-02 01:48:17 UTC) #8
Devlin
On 2014/10/02 01:48:17, tapted wrote: > On 2014/10/01 20:43:50, Devlin wrote: > > On 2014/10/01 ...
6 years, 2 months ago (2014-10-02 15:30:38 UTC) #10
levin
> --limited-install-from-webstore was previously used by hangouts in order to > install itself, but they've ...
6 years, 2 months ago (2014-10-02 15:49:24 UTC) #11
Devlin
+sky@ for c/b/ui/startup/ (just slightly too big for a TBR).
6 years, 2 months ago (2014-10-02 15:54:01 UTC) #13
sky
LGTM
6 years, 2 months ago (2014-10-02 17:23:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/617833003/60001
6 years, 2 months ago (2014-10-02 17:27:43 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:60001) as 1efac76a5b2930f5c9627cb80f0f6bb22b41e9e6
6 years, 2 months ago (2014-10-02 18:33:03 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 18:35:08 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/462b2fbc2e486d47ab682770418fa6deacfe67be
Cr-Commit-Position: refs/heads/master@{#297868}

Powered by Google App Engine
This is Rietveld 408576698