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

Issue 1251323003: Cleanup: give ChromeAppSorting a BrowserContext (Closed)

Created:
5 years, 5 months ago by Marc Treib
Modified:
5 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup: give ChromeAppSorting a BrowserContext This allows us to remove the yucky AppSorting::SetExtensionSyncService method, as well as ExtensionSyncService::SyncOrderingChange. BUG=None Committed: https://crrev.com/11ce5d50e71686e2335ede01ca54a902175ca07c Cr-Commit-Position: refs/heads/master@{#340440}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 9

Patch Set 3 : review (easy parts) #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -49 lines) Patch
M chrome/browser/extensions/chrome_app_sorting.h View 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/extensions/chrome_app_sorting.cc View 1 2 4 chunks +15 lines, -9 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/extensions/test_extension_prefs.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/test_extension_system.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/app_sorting.h View 2 chunks +0 lines, -6 lines 0 comments Download
M extensions/browser/extension_prefs_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extensions_browser_client.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/null_app_sorting.h View 1 chunk +0 lines, -2 lines 0 comments Download
M extensions/browser/null_app_sorting.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M extensions/browser/test_extensions_browser_client.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/test_extensions_browser_client.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M extensions/shell/browser/shell_extensions_browser_client.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M extensions/shell/browser/shell_extensions_browser_client.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
Marc Treib
Small cleanup as discussed. PTAL!
5 years, 5 months ago (2015-07-23 14:49:23 UTC) #2
not at google - send to devlin
This is a nice cleanup - and lgtm if you just want to submit it ...
5 years, 5 months ago (2015-07-23 15:35:11 UTC) #3
Marc Treib
https://codereview.chromium.org/1251323003/diff/20001/chrome/browser/extensions/chrome_app_sorting.cc File chrome/browser/extensions/chrome_app_sorting.cc (right): https://codereview.chromium.org/1251323003/diff/20001/chrome/browser/extensions/chrome_app_sorting.cc#newcode544 chrome/browser/extensions/chrome_app_sorting.cc:544: if (!browser_context_) On 2015/07/23 15:35:11, kalman wrote: > Comment ...
5 years, 5 months ago (2015-07-24 11:38:34 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/1251323003/diff/20001/extensions/browser/extensions_browser_client.h File extensions/browser/extensions_browser_client.h (right): https://codereview.chromium.org/1251323003/diff/20001/extensions/browser/extensions_browser_client.h#newcode164 extensions/browser/extensions_browser_client.h:164: virtual scoped_ptr<AppSorting> CreateAppSorting( On 2015/07/24 11:38:34, Marc Treib wrote: ...
5 years, 5 months ago (2015-07-24 14:43:54 UTC) #5
Marc Treib
On 2015/07/24 14:43:54, kalman wrote: > https://codereview.chromium.org/1251323003/diff/20001/extensions/browser/extensions_browser_client.h > File extensions/browser/extensions_browser_client.h (right): > > https://codereview.chromium.org/1251323003/diff/20001/extensions/browser/extensions_browser_client.h#newcode164 > ...
5 years, 5 months ago (2015-07-24 14:51:02 UTC) #6
not at google - send to devlin
On 2015/07/24 14:51:02, Marc Treib wrote: > On 2015/07/24 14:43:54, kalman wrote: > > > ...
5 years, 5 months ago (2015-07-24 16:20:05 UTC) #7
Marc Treib
On 2015/07/24 16:20:05, kalman wrote: > On 2015/07/24 14:51:02, Marc Treib wrote: > > On ...
5 years, 5 months ago (2015-07-27 08:02:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251323003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251323003/60001
5 years, 5 months ago (2015-07-27 08:11:52 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-27 08:53:11 UTC) #12
commit-bot: I haz the power
5 years, 5 months ago (2015-07-27 08:54:13 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/11ce5d50e71686e2335ede01ca54a902175ca07c
Cr-Commit-Position: refs/heads/master@{#340440}

Powered by Google App Engine
This is Rietveld 408576698