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

Issue 1419823011: app_sorting() calls should go via ExtensionSystem intsead of prefs. (Closed)

Created:
5 years, 1 month ago by Deepak
Modified:
5 years, 1 month ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, Matt Giuca, zea+watch_chromium.org, tapted, tfarina, maxbogue+watch_chromium.org, dbeam+watch-ntp_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, chromium-apps-reviews_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

app_sorting() in extension_prefs.h should be private and all access should go via ExtensionSystem to access app_sorting(). BUG=550759 Committed: https://crrev.com/4ba69e641911cddbee70c18b8b5c740f9b86ca7d Cr-Commit-Position: refs/heads/master@{#360014}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Addressing nits. #

Total comments: 7

Patch Set 5 : Changes as per review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -58 lines) Patch
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 2 3 4 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui_browsertest.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 3 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_service_sync_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/install_tracker.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sync_app_helper.cc View 1 5 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_app_list_helper.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_apps_sync_test.cc View 1 2 3 3 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_item.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc View 1 2 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 5 chunks +10 lines, -9 lines 0 comments Download
M extensions/browser/extension_prefs.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
Deepak
PTAL Thanks.
5 years, 1 month ago (2015-11-03 04:45:28 UTC) #3
benwells
On 2015/11/03 04:45:28, Delhi_Deepak wrote: > PTAL > Thanks. I've started a CQ dry run. ...
5 years, 1 month ago (2015-11-03 21:09:48 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419823011/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419823011/40001
5 years, 1 month ago (2015-11-03 21:09:53 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-03 21:47:10 UTC) #8
Deepak
On 2015/11/03 21:47:10, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 1 month ago (2015-11-04 03:57:30 UTC) #9
benwells
https://codereview.chromium.org/1419823011/diff/40001/chrome/browser/sync/test/integration/sync_app_list_helper.cc File chrome/browser/sync/test/integration/sync_app_list_helper.cc (right): https://codereview.chromium.org/1419823011/diff/40001/chrome/browser/sync/test/integration/sync_app_list_helper.cc#newcode15 chrome/browser/sync/test/integration/sync_app_list_helper.cc:15: #include "extensions/browser/extension_prefs.h" nit: Is this include still needed? https://codereview.chromium.org/1419823011/diff/40001/chrome/browser/sync/test/integration/two_client_apps_sync_test.cc ...
5 years, 1 month ago (2015-11-06 01:04:38 UTC) #10
Deepak
Thanks for review. Changes done as suggested. PTAL https://codereview.chromium.org/1419823011/diff/40001/chrome/browser/sync/test/integration/sync_app_list_helper.cc File chrome/browser/sync/test/integration/sync_app_list_helper.cc (right): https://codereview.chromium.org/1419823011/diff/40001/chrome/browser/sync/test/integration/sync_app_list_helper.cc#newcode15 chrome/browser/sync/test/integration/sync_app_list_helper.cc:15: #include ...
5 years, 1 month ago (2015-11-06 06:13:48 UTC) #11
benwells
lgtm. Please keep rebase and your changes in separate patches to make it easier for ...
5 years, 1 month ago (2015-11-08 23:53:37 UTC) #12
Deepak
@Thanks benwells for review. Adding @pvalenzuela for chrome/browser/sync/test/integration/ @dbeam for chrome/browser/ui/webui/ntp/ PTAL
5 years, 1 month ago (2015-11-09 05:36:35 UTC) #14
pval...(no longer on Chromium)
lgtm for chrome/browser/sync/test/integration/
5 years, 1 month ago (2015-11-10 15:22:10 UTC) #15
Deepak
@Dan Beam chrome/browser/ui/webui/ntp/ PTAL Thanks
5 years, 1 month ago (2015-11-12 05:39:39 UTC) #16
Dan Beam
https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc File extensions/browser/extension_prefs.cc (right): https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc#newcode380 extensions/browser/extension_prefs.cc:380: AppSorting* ExtensionPrefs::app_sorting() const { this should be positioned under ...
5 years, 1 month ago (2015-11-12 22:37:21 UTC) #17
benwells
https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc File extensions/browser/extension_prefs.cc (right): https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc#newcode380 extensions/browser/extension_prefs.cc:380: AppSorting* ExtensionPrefs::app_sorting() const { On 2015/11/12 22:37:21, Dan Beam ...
5 years, 1 month ago (2015-11-12 23:33:49 UTC) #18
benwells
5 years, 1 month ago (2015-11-12 23:33:52 UTC) #19
Dan Beam
lgtm https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc File extensions/browser/extension_prefs.cc (right): https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc#newcode380 extensions/browser/extension_prefs.cc:380: AppSorting* ExtensionPrefs::app_sorting() const { On 2015/11/12 23:33:48, benwells ...
5 years, 1 month ago (2015-11-17 00:28:48 UTC) #20
Deepak
@Dan Beam Thanks for Review. Comments addressed. https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc File extensions/browser/extension_prefs.cc (right): https://codereview.chromium.org/1419823011/diff/60001/extensions/browser/extension_prefs.cc#newcode380 extensions/browser/extension_prefs.cc:380: AppSorting* ExtensionPrefs::app_sorting() ...
5 years, 1 month ago (2015-11-17 05:00:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419823011/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419823011/80001
5 years, 1 month ago (2015-11-17 05:02:00 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-17 05:42:20 UTC) #25
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 05:43:33 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4ba69e641911cddbee70c18b8b5c740f9b86ca7d
Cr-Commit-Position: refs/heads/master@{#360014}

Powered by Google App Engine
This is Rietveld 408576698