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

Issue 171813010: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 1). (Closed)

Created:
6 years, 10 months ago by Yoyo Zhou
Modified:
6 years, 10 months ago
Reviewers:
James Cook
CC:
chromium-reviews, extensions-reviews_chromium.org, felt, nkostylev+watch_chromium.org, tfarina, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 1). These are a mix of everywhere changing Profile to BrowserContext and simply putting Profile::FromBrowserContext in the constructor (not changing the service's use of Profile*). BUG=309909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252496

Patch Set 1 #

Total comments: 5

Patch Set 2 : browser_context_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -213 lines) Patch
M chrome/browser/chromeos/extensions/media_player_api.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/extensions/media_player_api.cc View 1 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/extensions/media_player_event_router.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/media_player_event_router.cc View 1 1 chunk +11 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/activity_log_private/activity_log_private_api.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/activity_log_private/activity_log_private_api.cc View 1 4 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/alarms/alarm_manager.h View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/alarms/alarm_manager.cc View 1 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/api_resource_manager.h View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/audio/audio_api.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/audio/audio_api.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.h View 1 4 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.cc View 1 12 chunks +48 lines, -37 lines 0 comments Download
M chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/cast_channel/cast_channel_api.h View 1 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/cast_channel/cast_channel_api.cc View 1 4 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/commands/command_service.h View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/commands/command_service.cc View 2 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_api.h View 1 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_api.cc View 1 11 chunks +24 lines, -22 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.cc View 3 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_action_api.h View 5 chunks +13 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_action_api.cc View 5 chunks +30 lines, -23 lines 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_private_api.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/feedback_private/feedback_private_api.cc View 1 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/profile_keyed_api_factory.h View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yoyo Zhou
This is about 1/4 of the applicable services. https://codereview.chromium.org/171813010/diff/1/chrome/browser/extensions/api/profile_keyed_api_factory.h File chrome/browser/extensions/api/profile_keyed_api_factory.h (right): https://codereview.chromium.org/171813010/diff/1/chrome/browser/extensions/api/profile_keyed_api_factory.h#newcode70 chrome/browser/extensions/api/profile_keyed_api_factory.h:70: static ...
6 years, 10 months ago (2014-02-19 22:44:57 UTC) #1
James Cook
LGTM with a naming nit. (Yes, I know it will reformat a lot of code, ...
6 years, 10 months ago (2014-02-20 17:47:21 UTC) #2
Yoyo Zhou
https://codereview.chromium.org/171813010/diff/1/chrome/browser/chromeos/extensions/media_player_api.h File chrome/browser/chromeos/extensions/media_player_api.h (right): https://codereview.chromium.org/171813010/diff/1/chrome/browser/chromeos/extensions/media_player_api.h#newcode39 chrome/browser/chromeos/extensions/media_player_api.h:39: content::BrowserContext* const context_; On 2014/02/20 17:47:21, James Cook wrote: ...
6 years, 10 months ago (2014-02-20 22:44:54 UTC) #3
James Cook
lgtm
6 years, 10 months ago (2014-02-20 22:57:27 UTC) #4
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 10 months ago (2014-02-20 22:58:57 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/171813010/100001
6 years, 10 months ago (2014-02-20 22:59:47 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-21 02:33:02 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=267479
6 years, 10 months ago (2014-02-21 02:33:02 UTC) #8
Yoyo Zhou
The CQ bit was checked by yoz@chromium.org
6 years, 10 months ago (2014-02-21 03:34:02 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/171813010/100001
6 years, 10 months ago (2014-02-21 03:34:28 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-21 04:36:34 UTC) #11
Message was sent while issue was closed.
Change committed as 252496

Powered by Google App Engine
This is Rietveld 408576698