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

Issue 195943018: Move extensions BCKS factory creation (Closed)

Created:
6 years, 9 months ago by Ken Rockot(use gerrit already)
Modified:
6 years, 9 months ago
Reviewers:
Yoyo Zhou, James Cook
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Move extensions BCKS factory creation The list of BCKS factories being poked by ChromeBrowserMainExtraPartsProfiles is quite long and extensions code is the biggest contributor to that length. This moves extensions-related factory references into three new modules (one for //apps, one for //extensions, and one for //c/b/extensions) and condenses Chrome's extensions-related factory creation down to three calls within ChromeBrowserMainExtraPartsProfiles. BUG=352399 TBR=erg@chromium.org (for profiles parts) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257936

Patch Set 1 #

Patch Set 2 : \n #

Patch Set 3 : move stuff back out of PreProfileInit (because TestingProfile) #

Total comments: 22

Patch Set 4 : rebase, rename #

Total comments: 3

Patch Set 5 : nitty nits #

Patch Set 6 : . #

Patch Set 7 : :| #

Patch Set 8 : ಠ_ಠ #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -177 lines) Patch
M apps/apps.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A apps/browser_context_keyed_service_factories.h View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
A apps/browser_context_keyed_service_factories.cc View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_browser_main_parts.cc View 1 2 3 5 chunks +7 lines, -4 lines 0 comments Download
A chrome/browser/extensions/browser_context_keyed_service_factories.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/extensions/browser_context_keyed_service_factories.cc View 1 2 3 1 chunk +152 lines, -0 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 2 3 4 5 6 7 8 8 chunks +15 lines, -173 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
A extensions/browser/browser_context_keyed_service_factories.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A extensions/browser/browser_context_keyed_service_factories.cc View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
Ken Rockot(use gerrit already)
I think this is worth doing, but I'm not terribly happy with it yet: 1. ...
6 years, 9 months ago (2014-03-15 04:29:23 UTC) #1
James Cook
I like this change. (Also, in general I like lists of things to initialize instead ...
6 years, 9 months ago (2014-03-17 17:31:50 UTC) #2
Ken Rockot(use gerrit already)
Thanks. Moar changes. https://codereview.chromium.org/195943018/diff/40001/apps/browser_context_keyed_service_factories.h File apps/browser_context_keyed_service_factories.h (right): https://codereview.chromium.org/195943018/diff/40001/apps/browser_context_keyed_service_factories.h#newcode11 apps/browser_context_keyed_service_factories.h:11: // the core extensions code. On ...
6 years, 9 months ago (2014-03-17 20:08:26 UTC) #3
James Cook
LGTM with one nitty nit. https://codereview.chromium.org/195943018/diff/60001/chrome/browser/extensions/browser_context_keyed_service_factories.cc File chrome/browser/extensions/browser_context_keyed_service_factories.cc (right): https://codereview.chromium.org/195943018/diff/60001/chrome/browser/extensions/browser_context_keyed_service_factories.cc#newcode147 chrome/browser/extensions/browser_context_keyed_service_factories.cc:147: file_manager::FileBrowserPrivateAPIFactory::GetInstance(); On more reflection ...
6 years, 9 months ago (2014-03-17 23:56:59 UTC) #4
Ken Rockot(use gerrit already)
done https://codereview.chromium.org/195943018/diff/60001/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc File chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc (right): https://codereview.chromium.org/195943018/diff/60001/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc#newcode141 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc:141: apps::EnsureBrowserContextKeyedServiceFactoriesBuilt(); On 2014/03/17 23:56:59, James Cook wrote: > ...
6 years, 9 months ago (2014-03-18 00:29:50 UTC) #5
Yoyo Zhou
LGTM There's no real way around declaring a list of things *somewhere*. I think I ...
6 years, 9 months ago (2014-03-18 00:54:28 UTC) #6
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-18 00:55:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/80001
6 years, 9 months ago (2014-03-18 00:56:16 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 01:04:22 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 9 months ago (2014-03-18 01:04:23 UTC) #10
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-18 17:42:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/100001
6 years, 9 months ago (2014-03-18 17:46:41 UTC) #12
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-18 20:21:53 UTC) #13
commit-bot: I haz the power
Failed to trigger a try job on mac_rel HTTP Error 400: Bad Request
6 years, 9 months ago (2014-03-18 20:32:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/120001
6 years, 9 months ago (2014-03-18 20:33:25 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 20:55:19 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-18 20:55:19 UTC) #17
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-18 21:54:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/140001
6 years, 9 months ago (2014-03-18 21:59:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/140001
6 years, 9 months ago (2014-03-18 23:29:43 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 01:11:38 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 9 months ago (2014-03-19 01:11:39 UTC) #22
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-19 01:24:34 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/160001
6 years, 9 months ago (2014-03-19 01:24:58 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 01:30:01 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-19 01:30:02 UTC) #26
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-19 01:57:43 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/160001
6 years, 9 months ago (2014-03-19 01:58:02 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 03:06:31 UTC) #29
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=284172
6 years, 9 months ago (2014-03-19 03:06:32 UTC) #30
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-19 03:12:27 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/195943018/160001
6 years, 9 months ago (2014-03-19 03:12:46 UTC) #32
commit-bot: I haz the power
6 years, 9 months ago (2014-03-19 11:50:12 UTC) #33
Message was sent while issue was closed.
Change committed as 257936

Powered by Google App Engine
This is Rietveld 408576698