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

Issue 238633009: cleanup: Use EventRouter instead of ExtensionSystem::Get->event_router() (Closed)

Created:
6 years, 8 months ago by limasdf
Modified:
6 years, 8 months ago
CC:
chromium-reviews, vandebo (ex-Chrome), extensions-reviews_chromium.org, tommycli, Greg Billock, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use EventRouter instead of ExtensionSystem::Get->event_router() all clean-up BUG=362672 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264765

Patch Set 1 : #

Total comments: 7

Patch Set 2 : review #

Total comments: 2

Patch Set 3 : remove extension ns #

Patch Set 4 : rebase and fix compile error for browser_tests #

Patch Set 5 : fix compile error for chromeos build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -292 lines) Patch
M chrome/browser/apps/app_browsertest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/event_router.cc View 1 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/file_manager/file_browser_handlers.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/service.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc View 4 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/audio/audio_api.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/automation_internal/automation_internal_api.cc View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 4 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_socket_event_dispatcher.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc View 1 2 3 6 chunks +8 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.cc View 5 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_api.cc View 4 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/debugger/debugger_api.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/dial/dial_api.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_action_api.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_private_api.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/gcm/gcm_api.cc View 5 chunks +13 lines, -17 lines 0 comments Download
M chrome/browser/extensions/api/history/history_api.cc View 3 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/hotword_private/hotword_private_api.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/identity/identity_api.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/extensions/api/idle/idle_manager.cc View 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_manager.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/input_ime/input_ime_api.cc View 1 2 3 4 4 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/location/location_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/mdns/mdns_api.cc View 4 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/networking_private/networking_private_event_router_nonchromeos.cc View 6 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_api.cc View 1 2 3 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/omnibox/omnibox_api.cc View 5 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_api.cc View 4 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_helpers.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/processes/processes_api.cc View 3 chunks +10 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/streams_private/streams_private_apitest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_messages_apitest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/menu_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc View 2 chunks +1 line, -2 lines 0 comments Download
M extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
limasdf
When you have time. Sorry about huge & simple CL.
6 years, 8 months ago (2014-04-17 15:47:46 UTC) #1
not at google - send to devlin
pretty much lg https://codereview.chromium.org/238633009/diff/60001/chrome/browser/chromeos/extensions/file_manager/event_router.cc File chrome/browser/chromeos/extensions/file_manager/event_router.cc (right): https://codereview.chromium.org/238633009/diff/60001/chrome/browser/chromeos/extensions/file_manager/event_router.cc#newcode574 chrome/browser/chromeos/extensions/file_manager/event_router.cc:574: ; this semicolon looks wrong. https://codereview.chromium.org/238633009/diff/60001/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc ...
6 years, 8 months ago (2014-04-17 16:09:46 UTC) #2
limasdf
Thanks much for the reivew! PTAL. https://codereview.chromium.org/238633009/diff/60001/chrome/browser/chromeos/extensions/file_manager/event_router.cc File chrome/browser/chromeos/extensions/file_manager/event_router.cc (right): https://codereview.chromium.org/238633009/diff/60001/chrome/browser/chromeos/extensions/file_manager/event_router.cc#newcode574 chrome/browser/chromeos/extensions/file_manager/event_router.cc:574: ; On 2014/04/17 ...
6 years, 8 months ago (2014-04-17 16:22:56 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/238633009/diff/80001/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc File chrome/browser/extensions/api/automation_internal/automation_internal_api.cc (right): https://codereview.chromium.org/238633009/diff/80001/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc#newcode47 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc:47: extensions::EventRouter* event_router = extensions::EventRouter::Get(context); hm, extensions:: unnecessary here ...
6 years, 8 months ago (2014-04-17 16:47:45 UTC) #4
limasdf
The CQ bit was checked by limasdf@gmail.com
6 years, 8 months ago (2014-04-17 16:48:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/limasdf@gmail.com/238633009/80001
6 years, 8 months ago (2014-04-17 16:49:06 UTC) #6
limasdf
The CQ bit was unchecked by limasdf@gmail.com
6 years, 8 months ago (2014-04-17 16:49:28 UTC) #7
limasdf
Do you have any criteria about attatching extension:: ? Perhaps, if the code is already ...
6 years, 8 months ago (2014-04-17 16:54:27 UTC) #8
not at google - send to devlin
Yes, if the code is already in the extensions namespace, you don't need extensions::.
6 years, 8 months ago (2014-04-17 16:55:18 UTC) #9
limasdf
On 2014/04/17 16:55:18, kalman wrote: > Yes, if the code is already in the extensions ...
6 years, 8 months ago (2014-04-17 16:56:58 UTC) #10
limasdf
The CQ bit was checked by limasdf@gmail.com
6 years, 8 months ago (2014-04-17 16:57:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/limasdf@gmail.com/238633009/100001
6 years, 8 months ago (2014-04-17 16:57:21 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 17:44:03 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=62059
6 years, 8 months ago (2014-04-17 17:44:03 UTC) #14
Lei Zhang
You need to fix the build, but the remaining changes that require OWNERS in c/b/chromeos ...
6 years, 8 months ago (2014-04-17 18:47:06 UTC) #15
limasdf
On 2014/04/17 18:47:06, Lei Zhang wrote: > You need to fix the build, but the ...
6 years, 8 months ago (2014-04-18 00:06:41 UTC) #16
Lei Zhang
On 2014/04/18 00:06:41, Sungguk Lim wrote: > On 2014/04/17 18:47:06, Lei Zhang wrote: > > ...
6 years, 8 months ago (2014-04-18 00:12:22 UTC) #17
limasdf
On 2014/04/18 00:12:22, Lei Zhang wrote: > On 2014/04/18 00:06:41, Sungguk Lim wrote: > > ...
6 years, 8 months ago (2014-04-18 00:18:11 UTC) #18
limasdf
The CQ bit was checked by limasdf@gmail.com
6 years, 8 months ago (2014-04-18 00:18:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/limasdf@gmail.com/238633009/120001
6 years, 8 months ago (2014-04-18 00:19:40 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 02:03:43 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg
6 years, 8 months ago (2014-04-18 02:03:44 UTC) #22
limasdf
The CQ bit was checked by limasdf@gmail.com
6 years, 8 months ago (2014-04-18 03:12:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/limasdf@gmail.com/238633009/140001
6 years, 8 months ago (2014-04-18 03:13:16 UTC) #24
commit-bot: I haz the power
6 years, 8 months ago (2014-04-18 10:26:46 UTC) #25
Message was sent while issue was closed.
Change committed as 264765

Powered by Google App Engine
This is Rietveld 408576698