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

Issue 137753016: ExtensionSystem cleanup part 2 (Closed)

Created:
6 years, 10 months ago by Yoyo Zhou
Modified:
6 years, 10 months ago
Reviewers:
James Cook
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

ExtensionSystem cleanup part 2 This change introduces separate ExtensionSystemFactories for app shell and for chrome; in particular, a new ShellExtensionSystemFactory. ExtensionsBrowserClient now selects between the two at the factory level. Callers can simply use ExtensionSystem::Get. BUG=337707 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251014

Patch Set 1 : #

Patch Set 2 : deps #

Total comments: 13

Patch Set 3 : jamescook #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -72 lines) Patch
M apps/DEPS View 1 1 chunk +0 lines, -4 lines 0 comments Download
M apps/app_load_service_factory.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M apps/apps.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_browser_main_parts.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_extension_system.h View 1 chunk +0 lines, -3 lines 0 comments Download
M apps/shell/browser/shell_extension_system.cc View 2 chunks +0 lines, -11 lines 0 comments Download
A apps/shell/browser/shell_extension_system_factory.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A apps/shell/browser/shell_extension_system_factory.cc View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_extensions_browser_client.h View 1 chunk +1 line, -4 lines 0 comments Download
M apps/shell/browser/shell_extensions_browser_client.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.h View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 chunk +3 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_system_factory.h View 1 2 3 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_system_factory.cc View 1 2 chunks +4 lines, -8 lines 0 comments Download
M extensions/browser/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/extension_system.h View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/extension_system.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
A extensions/browser/extension_system_provider.h View 1 1 chunk +35 lines, -0 lines 0 comments Download
A extensions/browser/extension_system_provider.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M extensions/browser/extensions_browser_client.h View 3 chunks +4 lines, -8 lines 0 comments Download
M extensions/extensions.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yoyo Zhou
6 years, 10 months ago (2014-02-12 03:22:56 UTC) #1
James Cook
LGTM with nits. I like it much better than what I did. https://codereview.chromium.org/137753016/diff/60001/apps/DEPS File apps/DEPS ...
6 years, 10 months ago (2014-02-12 17:18:11 UTC) #2
Yoyo Zhou
https://codereview.chromium.org/137753016/diff/60001/apps/shell/browser/shell_extension_system_factory.h File apps/shell/browser/shell_extension_system_factory.h (right): https://codereview.chromium.org/137753016/diff/60001/apps/shell/browser/shell_extension_system_factory.h#newcode16 apps/shell/browser/shell_extension_system_factory.h:16: virtual ExtensionSystem* GetForBrowserContext( On 2014/02/12 17:18:12, James Cook wrote: ...
6 years, 10 months ago (2014-02-12 23:32:10 UTC) #3
Yoyo Zhou
Unfortunately, fixing ExtensionSystemFactory::GetInstance calls is shaping up to be one of those refactors that touches ...
6 years, 10 months ago (2014-02-13 01:39:26 UTC) #4
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 10 months ago (2014-02-13 01:39:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/137753016/220001
6 years, 10 months ago (2014-02-13 01:42:18 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-13 02:22:03 UTC) #7
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, ...
6 years, 10 months ago (2014-02-13 02:22:04 UTC) #8
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 10 months ago (2014-02-13 07:38:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/137753016/220001
6 years, 10 months ago (2014-02-13 07:38:59 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 15:15:54 UTC) #11
Message was sent while issue was closed.
Change committed as 251014

Powered by Google App Engine
This is Rietveld 408576698