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

Issue 11232066: Remove GetExtensionEventRouter from Profile. (Closed)

Created:
8 years, 2 months ago by Miranda Callahan
Modified:
8 years, 1 month ago
CC:
chromium-reviews, oshima+watch_chromium.org, nkostylev+watch_chromium.org, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, browser-components-watch_chromium.org, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, Satish, yusukes+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, ctguil+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, zork+watch_chromium.org
Visibility:
Public.

Description

Remove GetExtensionEventRouter calls and replace with PKSF calls through the ExtensionSystem. Extension services were made into ProfileKeyedServices a while ago; this replaces all the deprecated calls that ran directly through the Profile object. BUG= http://code.google.com/p/chromium/issues/detail?id=104095 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164697

Patch Set 1 #

Patch Set 2 : remove the rest of the calls #

Patch Set 3 : final removals #

Patch Set 4 : rebase #

Patch Set 5 : add mock extension systems to fix tests #

Patch Set 6 : minor tweakery #

Patch Set 7 : rebase #

Total comments: 6

Patch Set 8 : response to review #

Patch Set 9 : rebase #

Patch Set 10 : fix tab_capture_api #

Patch Set 11 : rerebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -264 lines) Patch
M chrome/browser/accessibility/accessibility_extension_api.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/bookmarks/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_extension_api.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_manager_extension_api.cc View 2 chunks +5 lines, -3 lines 0 comments Download
chrome/browser/chromeos/extensions/file_browser_event_router.cc View 1 2 3 4 5 6 7 8 chunks +34 lines, -25 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_handler_util.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/input_method_event_router.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/media_player_event_router.cc View 2 chunks +17 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/api_function.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/app_runtime/app_runtime_api.cc View 4 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_api.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/debugger/debugger_api.cc View 1 2 3 4 5 4 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/idle/idle_api.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/input_ime/input_ime_api.cc View 9 chunks +25 lines, -19 lines 0 comments Download
M chrome/browser/extensions/api/managed_mode/managed_mode_api.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc View 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/omnibox/omnibox_api.cc View 3 chunks +14 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_helpers.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/processes/processes_api.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/terminal/terminal_private_api.cc View 1 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/bluetooth_event_router.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/extensions/browser_event_router.cc View 3 chunks +15 lines, -11 lines 0 comments Download
M chrome/browser/extensions/event_router_forwarder.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_devtools_bridge.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_messages_apitest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/menu_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/menu_manager_unittest.cc View 1 2 3 4 5 6 7 5 chunks +27 lines, -13 lines 0 comments Download
M chrome/browser/extensions/permissions_updater.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/extensions/settings/settings_frontend.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/settings/settings_test_util.h View 1 2 3 4 3 chunks +17 lines, -5 lines 0 comments Download
M chrome/browser/extensions/settings/settings_test_util.cc View 1 2 3 4 3 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/history/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/history/history_extension_api.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 3 4 chunks +25 lines, -18 lines 0 comments Download
M chrome/browser/speech/extension_api/tts_engine_extension_api.cc View 1 4 chunks +18 lines, -14 lines 0 comments Download
M chrome/browser/speech/extension_api/tts_extension_api_controller.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_manager.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Miranda Callahan
This is the second in a series of refactoring CLs to remove calls to the ...
8 years, 1 month ago (2012-10-25 14:55:45 UTC) #1
sky
LGTM
8 years, 1 month ago (2012-10-25 16:17:37 UTC) #2
dmazzoni
lgtm for accessibility and tts
8 years, 1 month ago (2012-10-25 18:17:20 UTC) #3
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/11232066/diff/29002/chrome/browser/bookmarks/DEPS File chrome/browser/bookmarks/DEPS (right): https://chromiumcodereview.appspot.com/11232066/diff/29002/chrome/browser/bookmarks/DEPS#newcode16 chrome/browser/bookmarks/DEPS:16: "!chrome/browser/extensions/extension_system.h", I think this is okay because the ...
8 years, 1 month ago (2012-10-25 22:24:47 UTC) #4
Miranda Callahan
Thanks, guys! kaiwang and satish, could I get a peek? https://chromiumcodereview.appspot.com/11232066/diff/29002/chrome/browser/bookmarks/DEPS File chrome/browser/bookmarks/DEPS (right): https://chromiumcodereview.appspot.com/11232066/diff/29002/chrome/browser/bookmarks/DEPS#newcode16 ...
8 years, 1 month ago (2012-10-26 19:23:00 UTC) #5
kaiwang
LGTM
8 years, 1 month ago (2012-10-26 20:55:38 UTC) #6
hans
On 2012/10/25 14:55:45, Miranda Callahan wrote: > satish -- speech. lgtm for speech.
8 years, 1 month ago (2012-10-29 13:18:02 UTC) #7
tfarina
On Fri, Oct 26, 2012 at 5:23 PM, <mirandac@chromium.org> wrote: > https://chromiumcodereview.appspot.com/11232066/diff/29002/chrome/browser/bookmarks/DEPS > File chrome/browser/bookmarks/DEPS ...
8 years, 1 month ago (2012-10-29 13:44:07 UTC) #8
Miranda Callahan
justinlin, I had to make a small change to some code you added last week ...
8 years, 1 month ago (2012-10-29 14:17:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mirandac@chromium.org/11232066/48002
8 years, 1 month ago (2012-10-29 16:19:28 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/browser/profiles/off_the_record_profile_impl.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-10-29 16:19:53 UTC) #11
justinlin
lgtm
8 years, 1 month ago (2012-10-29 16:32:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mirandac@chromium.org/11232066/30008
8 years, 1 month ago (2012-10-29 16:37:34 UTC) #13
commit-bot: I haz the power
8 years, 1 month ago (2012-10-29 19:01:49 UTC) #14
Change committed as 164697

Powered by Google App Engine
This is Rietveld 408576698