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

Issue 46583007: Download webstore CRXs into separate directory. (Closed)

Created:
7 years, 1 month ago by jackhou1
Modified:
7 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, benwells, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Download webstore CRXs into separate directory. Currently CRXs downloaded from the webstore (i.e. during extension/app install) go to the default download directory, but are deleted once installed. This is particularly obvious on Mac where the downloads folder will bounce in the dock to indicate a new file. This CL adds a field trial to make all CRXs downloaded from the webstore go into their own directory under the user data dir. It also adds UMA for successful and failed installs from the webstore. BUG=309536, 313992 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236167

Patch Set 1 #

Patch Set 2 : Use FILE_PATH_LITERAL #

Patch Set 3 : Control via field trial. Add UMA for webstore installs. #

Total comments: 2

Patch Set 4 : Link field trial with histogram. #

Total comments: 5

Patch Set 5 : Add enum="BooleanSuccess" #

Patch Set 6 : Remove field trial block #

Total comments: 14

Patch Set 7 : Sync and rebase #

Patch Set 8 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -7 lines) Patch
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 2 3 4 5 6 7 5 chunks +36 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
jackhou1
asargent, not sure if you're the right person to review this, feel free to redirect/add ...
7 years, 1 month ago (2013-10-31 04:28:52 UTC) #1
asargent_no_longer_on_chrome
This is a good start. A couple of questions: -Does this properly handle cleanup in ...
7 years, 1 month ago (2013-10-31 05:16:05 UTC) #2
jackhou1
On 2013/10/31 05:16:05, Antony Sargent wrote: > This is a good start. A couple of ...
7 years, 1 month ago (2013-11-01 06:26:48 UTC) #3
jackhou1
asargent, PTAL
7 years, 1 month ago (2013-11-06 23:20:19 UTC) #4
asargent_no_longer_on_chrome
lgtm w/ one possible change you might want to make https://codereview.chromium.org/46583007/diff/190001/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/46583007/diff/190001/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc#newcode188 ...
7 years, 1 month ago (2013-11-07 00:18:47 UTC) #5
jackhou1
motek, could you please review to see if I've done the histogram/field trial stuff right? ...
7 years, 1 month ago (2013-11-11 22:59:24 UTC) #6
motek.
https://chromiumcodereview.appspot.com/46583007/diff/260001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/46583007/diff/260001/tools/metrics/histograms/histograms.xml#newcode19676 tools/metrics/histograms/histograms.xml:19676: +<histogram name="Webstore.ExtensionInstallResult"> The result is either 'successful or not', ...
7 years, 1 month ago (2013-11-12 16:41:57 UTC) #7
jackhou1
https://chromiumcodereview.appspot.com/46583007/diff/260001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/46583007/diff/260001/tools/metrics/histograms/histograms.xml#newcode19676 tools/metrics/histograms/histograms.xml:19676: +<histogram name="Webstore.ExtensionInstallResult"> On 2013/11/12 16:41:57, motek. wrote: > The ...
7 years, 1 month ago (2013-11-12 23:39:07 UTC) #8
motek.
On 2013/11/12 23:39:07, jackhou1 wrote: > https://chromiumcodereview.appspot.com/46583007/diff/260001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://chromiumcodereview.appspot.com/46583007/diff/260001/tools/metrics/histograms/histograms.xml#newcode19676 > ...
7 years, 1 month ago (2013-11-12 23:50:00 UTC) #9
jackhou1
>I don't see it. Make sure to upload, pls. It should be up now in ...
7 years, 1 month ago (2013-11-13 00:27:50 UTC) #10
motek.
lgtm
7 years, 1 month ago (2013-11-13 18:03:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/46583007/350001
7 years, 1 month ago (2013-11-13 23:12:19 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=36088
7 years, 1 month ago (2013-11-14 00:22:43 UTC) #13
jackhou1
jar, please review for OWNERS in tools/metrics
7 years, 1 month ago (2013-11-14 04:10:56 UTC) #14
jackhou1
Ping, also +mpearson in case jar@ is not available.
7 years, 1 month ago (2013-11-18 23:06:30 UTC) #15
motek
Your best bet for OWNER's on finch-related things might be asvitkine@. On Mon, Nov 18, ...
7 years, 1 month ago (2013-11-18 23:33:49 UTC) #16
Mark P
histograms.xml lgtm with one revision below https://codereview.chromium.org/46583007/diff/350001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/46583007/diff/350001/tools/metrics/histograms/histograms.xml#newcode19678 tools/metrics/histograms/histograms.xml:19678: + The success ...
7 years, 1 month ago (2013-11-18 23:48:51 UTC) #17
jar (doing other things)
histograms.xml LGTM... but please address the nits listed below. (yeah... I know some is not ...
7 years, 1 month ago (2013-11-18 23:49:43 UTC) #18
jackhou1
https://codereview.chromium.org/46583007/diff/350001/chrome/browser/extensions/webstore_installer.cc File chrome/browser/extensions/webstore_installer.cc (right): https://codereview.chromium.org/46583007/diff/350001/chrome/browser/extensions/webstore_installer.cc#newcode80 chrome/browser/extensions/webstore_installer.cc:80: "Dependency is not shared module"; On 2013/11/18 23:49:44, jar ...
7 years, 1 month ago (2013-11-19 06:56:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/46583007/550001
7 years, 1 month ago (2013-11-19 06:57:08 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
7 years, 1 month ago (2013-11-19 07:10:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/46583007/550001
7 years, 1 month ago (2013-11-19 23:42:58 UTC) #22
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 05:44:12 UTC) #23
Message was sent while issue was closed.
Change committed as 236167

Powered by Google App Engine
This is Rietveld 408576698