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

Issue 698623002: Split WarningService from ExtensionSystem. (Closed)

Created:
6 years, 1 month ago by Reilly Grant (use Gerrit)
Modified:
6 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Split WarningService from ExtensionSystem. This patch removes both the WarningService accessors from ExtensionSystem and also the ExtensionWarningBadgeService instance that it created as this can be built automatically for every BrowserContext simply by declaring so in its new factory. BUG= Committed: https://crrev.com/22114a38f8e580253332a3fbef0a1892aee1e982 Cr-Commit-Position: refs/heads/master@{#302438}

Patch Set 1 #

Total comments: 5

Patch Set 2 : virtual -> override #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -70 lines) Patch
M chrome/browser/extensions/browser_context_keyed_service_factories.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.h View 4 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 6 chunks +0 lines, -20 lines 0 comments Download
M chrome/browser/extensions/extension_warning_badge_service.h View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_warning_badge_service.cc View 3 chunks +10 lines, -4 lines 0 comments Download
A chrome/browser/extensions/extension_warning_badge_service_factory.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_warning_badge_service_factory.cc View 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/test_extension_system.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/extension_system.h View 2 chunks +0 lines, -5 lines 0 comments Download
M extensions/browser/mock_extension_system.h View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/mock_extension_system.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M extensions/browser/warning_service.h View 3 chunks +7 lines, -1 line 0 comments Download
M extensions/browser/warning_service.cc View 3 chunks +7 lines, -3 lines 0 comments Download
A extensions/browser/warning_service_factory.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A + extensions/browser/warning_service_factory.cc View 1 chunk +16 lines, -13 lines 0 comments Download
M extensions/extensions.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_extension_system.h View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/shell/browser/shell_extension_system.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Reilly Grant (use Gerrit)
xiyuan@, please take a look at chrome/browser/ui/webui/extensions/extension_settings_handler.cc. mek@, please take a look at everything else.
6 years, 1 month ago (2014-10-31 18:28:47 UTC) #3
xiyuan
extension_settings_handler.cc LGTM
6 years, 1 month ago (2014-10-31 18:39:54 UTC) #4
Marijn Kruisselbrink
lgtm if you fix the virtual/override issues https://codereview.chromium.org/698623002/diff/1/chrome/browser/extensions/extension_warning_badge_service.cc File chrome/browser/extensions/extension_warning_badge_service.cc (right): https://codereview.chromium.org/698623002/diff/1/chrome/browser/extensions/extension_warning_badge_service.cc#newcode93 chrome/browser/extensions/extension_warning_badge_service.cc:93: warning_service_observer_.Add(WarningService::Get(profile_)); The ...
6 years, 1 month ago (2014-10-31 20:38:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698623002/20001
6 years, 1 month ago (2014-11-03 15:57:55 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-11-03 16:48:06 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-11-03 16:48:55 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/22114a38f8e580253332a3fbef0a1892aee1e982
Cr-Commit-Position: refs/heads/master@{#302438}

Powered by Google App Engine
This is Rietveld 408576698