Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Issue 602803002: Refactor ExtensionManagement (Closed)

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

Description

Refactor ExtensionManagement This CL removes IndividualSettings and GlobalSettings from ExtensionManagment header file in order to simply header file and reduce static size of ExtensionManagement class. Linked pointer is used to prevent potential unintended use of copy constructor of these structure in the future, when more fields are added. A new internal header file is created since these structures are also used in unit tests. BUG=177351 Committed: https://crrev.com/81d7c55c47677582259ab1b62b92d0d7c2557d47 Cr-Commit-Position: refs/heads/master@{#297808}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : fix #

Total comments: 26

Patch Set 4 : fixes addressing #3 #

Total comments: 4

Patch Set 5 : fix addressing #7 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -295 lines) Patch
M chrome/browser/extensions/extension_management.h View 1 2 3 4 9 chunks +33 lines, -60 lines 0 comments Download
M chrome/browser/extensions/extension_management.cc View 1 2 3 12 chunks +71 lines, -136 lines 0 comments Download
A chrome/browser/extensions/extension_management_internal.h View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_management_internal.cc View 1 2 3 4 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_management_unittest.cc View 1 2 3 17 chunks +66 lines, -85 lines 0 comments Download
M chrome/browser/extensions/standard_management_policy_provider.cc View 1 3 chunks +5 lines, -14 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
binjin
Hello Joao, I refactored the ExtensionManagement a bit, PTAL. -bjin
6 years, 2 months ago (2014-09-24 19:56:42 UTC) #2
Joao da Silva
https://codereview.chromium.org/602803002/diff/40001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/602803002/diff/40001/chrome/browser/extensions/extension_management.cc#newcode41 chrome/browser/extensions/extension_management.cc:41: IndividualSettings::IndividualSettings() { Move this to extension_management_internal.cc (same for everything ...
6 years, 2 months ago (2014-09-25 08:53:51 UTC) #3
Joao da Silva
+pastarmovj to review while I'm away. This CL is currently waiting for a new patch ...
6 years, 2 months ago (2014-09-25 09:42:53 UTC) #5
binjin
https://codereview.chromium.org/602803002/diff/40001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/602803002/diff/40001/chrome/browser/extensions/extension_management.cc#newcode41 chrome/browser/extensions/extension_management.cc:41: IndividualSettings::IndividualSettings() { On 2014/09/25 08:53:51, Joao da Silva (OOO ...
6 years, 2 months ago (2014-09-25 13:19:19 UTC) #6
Joao da Silva
Looks good to me. I leave it to Julian to do a final review & ...
6 years, 2 months ago (2014-09-25 14:09:41 UTC) #7
binjin
https://codereview.chromium.org/602803002/diff/60001/chrome/browser/extensions/extension_management.h File chrome/browser/extensions/extension_management.h (right): https://codereview.chromium.org/602803002/diff/60001/chrome/browser/extensions/extension_management.h#newcode8 chrome/browser/extensions/extension_management.h:8: #include <map> On 2014/09/25 14:09:41, Joao da Silva (OOO ...
6 years, 2 months ago (2014-09-25 14:17:23 UTC) #8
binjin
@pastarmovj: the newest patchset is ready to be reviewed.
6 years, 2 months ago (2014-09-25 18:51:28 UTC) #10
pastarmovj
lgtm
6 years, 2 months ago (2014-10-02 10:16:03 UTC) #11
binjin
Finnur, could you have a look at this CL?
6 years, 2 months ago (2014-10-02 10:25:06 UTC) #13
Finnur
LGTM from an owners perspective.
6 years, 2 months ago (2014-10-02 10:37:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/602803002/100001
6 years, 2 months ago (2014-10-02 10:50:56 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/20024) win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/15829)
6 years, 2 months ago (2014-10-02 11:04:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/602803002/100001
6 years, 2 months ago (2014-10-02 11:11:32 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:100001) as 448d50af05443c537efe3d7c40d19e7d27fb3f2a
6 years, 2 months ago (2014-10-02 11:47:21 UTC) #21
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 11:48:00 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/81d7c55c47677582259ab1b62b92d0d7c2557d47
Cr-Commit-Position: refs/heads/master@{#297808}

Powered by Google App Engine
This is Rietveld 408576698