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

Issue 273193006: Install Chrome OS apps to shared location (Closed)

Created:
6 years, 7 months ago by Dmitry Polukhin
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Install Chrome OS apps to shared location This CL implements install and uninstall to shared location. New functionality is disabled by default and can be enabled only by command line switch. The switch will not be enabled until extensions resources verification is not enabled by default in force mode for all apps/extensions. Follow up CL should add support for GC in shared location. BUG=235263 TEST=browser_tests + manual R=asargent@chromium.org TBR=mnissler@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273620

Patch Set 1 #

Patch Set 2 : reupload #

Patch Set 3 : added uninstall #

Total comments: 7

Patch Set 4 : fixed unit_tests #

Patch Set 5 : added multi-profile support #

Total comments: 27

Patch Set 6 : fixed non-chromeos case #

Patch Set 7 : simple nits resolved #

Patch Set 8 : eliminate race condition between install and uninstall #

Total comments: 2

Patch Set 9 : rebase #

Patch Set 10 : comment fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+743 lines, -24 lines) Patch
M chrome/browser/extensions/crx_installer.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/extensions/crx_installer_browsertest.cc View 1 2 3 4 4 chunks +40 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_assets_manager.h View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_assets_manager.cc View 1 2 3 4 5 6 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_assets_manager_chromeos.h View 1 2 3 4 5 6 7 1 chunk +105 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_assets_manager_chromeos.cc View 1 2 3 4 5 6 7 8 9 1 chunk +421 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/extension_prefs.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -13 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Dmitry Polukhin
Antony, please take a look. High level comments about approach for app resources sharing between ...
6 years, 7 months ago (2014-05-15 19:19:51 UTC) #1
asargent_no_longer_on_chrome
I like the overall approach. I think it might be a little better to have ...
6 years, 7 months ago (2014-05-16 17:56:19 UTC) #2
Dmitry Polukhin
Will make ExtensionAssetsManager abstract class. Please take a look to my replay about thread safety ...
6 years, 7 months ago (2014-05-16 22:45:50 UTC) #3
asargent_no_longer_on_chrome
https://codereview.chromium.org/273193006/diff/40001/chrome/browser/extensions/extension_assets_manager_chromeos.cc File chrome/browser/extensions/extension_assets_manager_chromeos.cc (right): https://codereview.chromium.org/273193006/diff/40001/chrome/browser/extensions/extension_assets_manager_chromeos.cc#newcode215 chrome/browser/extensions/extension_assets_manager_chromeos.cc:215: shared_install_dir); On 2014/05/16 22:45:50, Dmitry Polukhin wrote: > On ...
6 years, 7 months ago (2014-05-19 18:25:19 UTC) #4
Dmitry Polukhin
PTAL I added helper class that works on UI thread and resolve parallel install case ...
6 years, 7 months ago (2014-05-19 21:30:22 UTC) #5
asargent_no_longer_on_chrome
I like the direction - I found a few nits, made a couple of optional ...
6 years, 7 months ago (2014-05-20 21:20:25 UTC) #6
Dmitry Polukhin
https://codereview.chromium.org/273193006/diff/70001/chrome/browser/extensions/extension_assets_manager.cc File chrome/browser/extensions/extension_assets_manager.cc (right): https://codereview.chromium.org/273193006/diff/70001/chrome/browser/extensions/extension_assets_manager.cc#newcode21 chrome/browser/extensions/extension_assets_manager.cc:21: // |local_install_dir| or some common location shared for multiple ...
6 years, 7 months ago (2014-05-20 23:42:16 UTC) #7
Dmitry Polukhin
PTAL https://codereview.chromium.org/273193006/diff/70001/chrome/browser/extensions/extension_assets_manager_chromeos.cc File chrome/browser/extensions/extension_assets_manager_chromeos.cc (right): https://codereview.chromium.org/273193006/diff/70001/chrome/browser/extensions/extension_assets_manager_chromeos.cc#newcode430 chrome/browser/extensions/extension_assets_manager_chromeos.cc:430: base::Bind(&ExtensionAssetsManagerChromeOS::DeleteSharedExtension, id)); On 2014/05/20 23:42:16, Dmitry Polukhin wrote: ...
6 years, 7 months ago (2014-05-21 00:37:45 UTC) #8
Dmitry Polukhin
friendly ping
6 years, 7 months ago (2014-05-22 17:33:53 UTC) #9
asargent_no_longer_on_chrome
On 2014/05/22 17:33:53, Dmitry Polukhin wrote: > friendly ping Sorry for silence, I was on ...
6 years, 6 months ago (2014-05-28 21:36:38 UTC) #10
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/273193006/diff/130001/chrome/browser/extensions/extension_assets_manager_chromeos.cc File chrome/browser/extensions/extension_assets_manager_chromeos.cc (right): https://codereview.chromium.org/273193006/diff/130001/chrome/browser/extensions/extension_assets_manager_chromeos.cc#newcode411 chrome/browser/extensions/extension_assets_manager_chromeos.cc:411: // used by single user and installing the ...
6 years, 6 months ago (2014-05-28 21:44:49 UTC) #11
Dmitry Polukhin
+ gab@ for OWNER review chrome/browser/prefs/browser_prefs.cc Antony, thank you for review! https://codereview.chromium.org/273193006/diff/130001/chrome/browser/extensions/extension_assets_manager_chromeos.cc File chrome/browser/extensions/extension_assets_manager_chromeos.cc (right): ...
6 years, 6 months ago (2014-05-28 21:59:18 UTC) #12
Dmitry Polukhin
+ Mattias for OWNER review chrome/browser/prefs/browser_prefs.cc (gab@ seems to be on leave)
6 years, 6 months ago (2014-05-28 23:49:29 UTC) #13
Dmitry Polukhin
Changes in chrome/browser/prefs/browser_prefs.cc are trivial, committing as TBR.
6 years, 6 months ago (2014-05-29 21:31:55 UTC) #14
Dmitry Polukhin
Committed patchset #10 manually as r273620 (presubmit successful).
6 years, 6 months ago (2014-05-29 22:19:14 UTC) #15
Mattias Nissler (ping if slow)
6 years, 6 months ago (2014-05-30 07:39:22 UTC) #16
Message was sent while issue was closed.
browser_prefs.cc LGTM.

Powered by Google App Engine
This is Rietveld 408576698