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

Issue 499313002: Add ExtensionManagement class (Closed)

Created:
6 years, 4 months ago by binjin
Modified:
6 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Project:
chromium
Visibility:
Public.

Description

Initial ExtensionManagement class implementation, with legacy preference parsing and interface for obtaining basic structure of extension management settings. BUG=177351 TEST=new unit test Committed: https://crrev.com/5f405efcf1951900430434e77f046423ac4910cf Cr-Commit-Position: refs/heads/master@{#293198}

Patch Set 1 #

Patch Set 2 : add unit_tests #

Patch Set 3 : rebase minor robustness improvement #

Total comments: 35

Patch Set 4 : reject default pref value #

Patch Set 5 : fixes to comments from #3 #

Patch Set 6 : use std::find() #

Total comments: 5

Patch Set 7 : fixes to #5 #

Total comments: 20

Patch Set 8 : fixes to #11 #

Total comments: 1

Patch Set 9 : fixes to #13 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -0 lines) Patch
A chrome/browser/extensions/extension_management.h View 1 2 3 4 5 6 7 8 1 chunk +131 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_management.cc View 1 2 3 4 5 6 7 1 chunk +183 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_management_unittest.cc View 1 2 3 4 5 6 1 chunk +175 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
binjin
Hello Joao, I re-uploaded this CL as it's been a while from last code reviewing. ...
6 years, 3 months ago (2014-09-02 13:17:32 UTC) #2
Joao da Silva
https://codereview.chromium.org/499313002/diff/40001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/499313002/diff/40001/chrome/browser/extensions/extension_management.cc#newcode33 chrome/browser/extensions/extension_management.cc:33: : pref_service_(pref_service) { Shouldn't this class observe the prefs ...
6 years, 3 months ago (2014-09-02 19:34:02 UTC) #3
binjin
Hello Joao, I also have some changes as patchset 4, PTAL -bjin https://codereview.chromium.org/499313002/diff/40001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc ...
6 years, 3 months ago (2014-09-02 20:02:57 UTC) #4
Joao da Silva
Getting almost there. Let's discuss GlobalSettings offline. https://codereview.chromium.org/499313002/diff/40001/chrome/browser/extensions/extension_management.h File chrome/browser/extensions/extension_management.h (right): https://codereview.chromium.org/499313002/diff/40001/chrome/browser/extensions/extension_management.h#newcode76 chrome/browser/extensions/extension_management.h:76: const GlobalSettings& ...
6 years, 3 months ago (2014-09-03 09:20:40 UTC) #5
binjin
As we discussed offline, I still prefer to keep the GlobalSettings structure in order to ...
6 years, 3 months ago (2014-09-03 11:28:22 UTC) #7
Joao da Silva
lgtm This needs to be reviewed by an owner of chrome/browser/extensions/ now. https://codereview.chromium.org/499313002/diff/100001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc ...
6 years, 3 months ago (2014-09-03 11:58:33 UTC) #8
binjin
rockot, funnur: Please take a look at chrome/browser/extensions/*
6 years, 3 months ago (2014-09-03 12:14:39 UTC) #10
Finnur
It is a little weird to be reviewing a class that is only used in ...
6 years, 3 months ago (2014-09-03 13:04:01 UTC) #11
binjin
https://codereview.chromium.org/499313002/diff/140001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/499313002/diff/140001/chrome/browser/extensions/extension_management.cc#newcode22 chrome/browser/extensions/extension_management.cc:22: } On 2014/09/03 13:04:01, Finnur wrote: > |has_restricted_install_sources| and ...
6 years, 3 months ago (2014-09-03 14:31:55 UTC) #12
Finnur
LGTM, with nit. https://codereview.chromium.org/499313002/diff/160001/chrome/browser/extensions/extension_management.h File chrome/browser/extensions/extension_management.h (right): https://codereview.chromium.org/499313002/diff/160001/chrome/browser/extensions/extension_management.h#newcode115 chrome/browser/extensions/extension_management.h:115: // extension ID) or a group ...
6 years, 3 months ago (2014-09-03 14:56:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binjin@chromium.org/499313002/180001
6 years, 3 months ago (2014-09-03 15:37:06 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-03 18:58:06 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/12530)
6 years, 3 months ago (2014-09-03 19:04:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binjin@chromium.org/499313002/180001
6 years, 3 months ago (2014-09-03 19:12:00 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-03 19:21:32 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/12545)
6 years, 3 months ago (2014-09-03 19:28:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binjin@chromium.org/499313002/180001
6 years, 3 months ago (2014-09-03 20:30:10 UTC) #25
commit-bot: I haz the power
Committed patchset #9 (id:180001) as 517f79487405ecc7fa1b72fa8c55a5f814f408b2
6 years, 3 months ago (2014-09-03 21:24:58 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:27:49 UTC) #27
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5f405efcf1951900430434e77f046423ac4910cf
Cr-Commit-Position: refs/heads/master@{#293198}

Powered by Google App Engine
This is Rietveld 408576698