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

Issue 397903002: Do not assign launch ordinals to ephemeral apps (Closed)

Created:
6 years, 5 months ago by tmdiep
Modified:
6 years, 5 months ago
Reviewers:
tapted, benwells
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ephemapp_unload_review
Project:
chromium
Visibility:
Public.

Description

Do not assign launch ordinals to ephemeral apps Ephemeral apps are not shown in the app launcher or NTP, but they are assigned ordinals, which results in unfilled NTP pages. This patch does not give ephemeral apps launch ordinals until they are promoted to fully installed apps. AppSorting::MarkExtensionAsHidden() was refactored to AppSorting::SetExtensionVisible() to allow the visibility of the extension in the NTP to change. BUG=394192 TEST=browser_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284536

Patch Set 1 #

Total comments: 1

Patch Set 2 : Changed implementation #

Total comments: 7

Patch Set 3 : Address tapted's review comments #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase onto trunk #

Patch Set 6 : Minor clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -33 lines) Patch
M apps/shell/browser/shell_app_sorting.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M apps/shell/browser/shell_app_sorting.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 2 3 4 5 8 chunks +34 lines, -13 lines 0 comments Download
M chrome/browser/extensions/chrome_app_sorting.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/chrome_app_sorting.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/chrome_app_sorting_unittest.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 2 chunks +17 lines, -8 lines 0 comments Download
M extensions/browser/app_sorting.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tmdiep
I noticed that my NTP had unfilled pages. It turned out they were occupied by ...
6 years, 5 months ago (2014-07-16 04:44:57 UTC) #1
tapted
[drive-by] we had to do something like this for the settings app -- see https://chromiumcodereview.appspot.com/12331003 ...
6 years, 5 months ago (2014-07-16 05:03:38 UTC) #2
tmdiep
On 2014/07/16 05:03:38, tapted wrote: > [drive-by] > > we had to do something like ...
6 years, 5 months ago (2014-07-16 05:25:52 UTC) #3
tmdiep
I changed the implementation of this - please see patch set 2. I still think ...
6 years, 5 months ago (2014-07-16 08:11:50 UTC) #4
tapted
https://codereview.chromium.org/397903002/diff/40001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/397903002/diff/40001/chrome/browser/extensions/extension_service.cc#newcode1439 chrome/browser/extensions/extension_service.cc:1439: !extension_prefs_->IsEphemeralApp(extension->id())); are ephemeral apps never displayed in the new ...
6 years, 5 months ago (2014-07-17 04:29:46 UTC) #5
tmdiep
https://codereview.chromium.org/397903002/diff/40001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/397903002/diff/40001/chrome/browser/extensions/extension_service.cc#newcode1439 chrome/browser/extensions/extension_service.cc:1439: !extension_prefs_->IsEphemeralApp(extension->id())); On 2014/07/17 04:29:46, tapted wrote: > are ephemeral ...
6 years, 5 months ago (2014-07-17 05:48:57 UTC) #6
tapted
lgtm https://codereview.chromium.org/397903002/diff/40001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/397903002/diff/40001/chrome/browser/extensions/extension_service.cc#newcode1439 chrome/browser/extensions/extension_service.cc:1439: !extension_prefs_->IsEphemeralApp(extension->id())); On 2014/07/17 05:48:57, tmdiep wrote: > On ...
6 years, 5 months ago (2014-07-17 05:59:53 UTC) #7
benwells
On 2014/07/17 05:59:53, tapted wrote: > lgtm > > https://codereview.chromium.org/397903002/diff/40001/chrome/browser/extensions/extension_service.cc > File chrome/browser/extensions/extension_service.cc (right): > ...
6 years, 5 months ago (2014-07-18 05:01:06 UTC) #8
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 5 months ago (2014-07-21 22:02:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/397903002/140001
6 years, 5 months ago (2014-07-21 22:03:52 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 23:19:40 UTC) #11
Message was sent while issue was closed.
Change committed as 284536

Powered by Google App Engine
This is Rietveld 408576698