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

Issue 2944283002: Replace --add-to-shelf flag with kAppBanners feature. (Closed)

Created:
3 years, 6 months ago by benwells
Modified:
3 years, 5 months ago
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, asvitkine+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace --add-to-shelf flag with kAppBanners feature. The add to shelf flag was poorly named and doesn't use the new feature goodness. With this change, functionality dependent on the kBookmarkApps flag is also enabled if the kAppBanners flag is enabled. BUG=734897 Review-Url: https://codereview.chromium.org/2944283002 Cr-Commit-Position: refs/heads/master@{#482889} Committed: https://chromium.googlesource.com/chromium/src/+/c421ccdbdd2c25b9d5d83eab1d8902aacb0d00ab

Patch Set 1 #

Patch Set 2 : Enable bookmark apps if app banners are on #

Patch Set 3 : git cl try #

Patch Set 4 : Self nit #

Total comments: 6

Patch Set 5 : Feedback #

Patch Set 6 : Doh! #

Patch Set 7 : Double Doh! #

Total comments: 7

Patch Set 8 : Fix enums #

Patch Set 9 : Rebase and remove web_apps change #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -50 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/banners/app_banner_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 7 chunks +14 lines, -13 lines 0 comments Download
M chrome/browser/banners/app_banner_manager_desktop.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_util.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/flag_descriptions.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/flag_descriptions.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/installable/installable_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -7 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -8 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 50 (26 generated)
benwells
3 years, 6 months ago (2017-06-21 00:13:33 UTC) #11
Matt Giuca
https://codereview.chromium.org/2944283002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2944283002/diff/60001/chrome/browser/about_flags.cc#newcode1988 chrome/browser/about_flags.cc:1988: #if !defined(OS_ANDROID) Why !defined(OS_ANDROID)? You already have kOsDesktop. Is ...
3 years, 6 months ago (2017-06-22 01:40:38 UTC) #12
Matt Giuca
Also, line-wrap the last paragraph of the CL description.
3 years, 6 months ago (2017-06-22 01:41:04 UTC) #13
benwells
https://codereview.chromium.org/2944283002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2944283002/diff/60001/chrome/browser/about_flags.cc#newcode1988 chrome/browser/about_flags.cc:1988: #if !defined(OS_ANDROID) On 2017/06/22 01:40:38, Matt Giuca wrote: > ...
3 years, 6 months ago (2017-06-22 05:57:48 UTC) #15
Matt Giuca
lgtm with histograms nit (please add someone from histograms to answer). https://codereview.chromium.org/2944283002/diff/120001/tools/metrics/histograms/enums.xml File tools/metrics/histograms/enums.xml (right): ...
3 years, 6 months ago (2017-06-22 06:51:13 UTC) #16
benwells
+isherman to answer question about what to do with old flag +thestig for little chrome/renderer ...
3 years, 6 months ago (2017-06-22 06:55:04 UTC) #18
Lei Zhang
+chaopeng to look over the ScopedFeatureList usage. https://codereview.chromium.org/2944283002/diff/120001/chrome/renderer/web_apps.cc File chrome/renderer/web_apps.cc (right): https://codereview.chromium.org/2944283002/diff/120001/chrome/renderer/web_apps.cc#newcode153 chrome/renderer/web_apps.cc:153: #if defined(OS_MACOSX) ...
3 years, 6 months ago (2017-06-22 07:21:06 UTC) #20
benwells
https://codereview.chromium.org/2944283002/diff/120001/chrome/renderer/web_apps.cc File chrome/renderer/web_apps.cc (right): https://codereview.chromium.org/2944283002/diff/120001/chrome/renderer/web_apps.cc#newcode153 chrome/renderer/web_apps.cc:153: #if defined(OS_MACOSX) On 2017/06/22 07:21:05, Lei Zhang wrote: > ...
3 years, 6 months ago (2017-06-22 07:34:10 UTC) #21
Lei Zhang
On 2017/06/22 07:34:10, benwells wrote: > https://codereview.chromium.org/2944283002/diff/120001/chrome/renderer/web_apps.cc > File chrome/renderer/web_apps.cc (right): > > https://codereview.chromium.org/2944283002/diff/120001/chrome/renderer/web_apps.cc#newcode153 > ...
3 years, 6 months ago (2017-06-22 07:37:17 UTC) #22
Ilya Sherman
https://codereview.chromium.org/2944283002/diff/120001/tools/metrics/histograms/enums.xml File tools/metrics/histograms/enums.xml (right): https://codereview.chromium.org/2944283002/diff/120001/tools/metrics/histograms/enums.xml#newcode22968 tools/metrics/histograms/enums.xml:22968: + <int value="1350179532" label="enable-add-to-shelf (deprecated)"/> On 2017/06/22 06:51:12, Matt ...
3 years, 6 months ago (2017-06-22 16:29:28 UTC) #23
Ilya Sherman
Incidentally... https://codereview.chromium.org/2944283002/diff/120001/chrome/browser/installable/installable_manager_browsertest.cc File chrome/browser/installable/installable_manager_browsertest.cc (right): https://codereview.chromium.org/2944283002/diff/120001/chrome/browser/installable/installable_manager_browsertest.cc#newcode185 chrome/browser/installable/installable_manager_browsertest.cc:185: feature_list_.InitAndDisableFeature(features::kAppBanners); I'm not 100% sure, but I think ...
3 years, 6 months ago (2017-06-22 16:36:22 UTC) #24
chaopeng
On 2017/06/22 16:36:22, Ilya Sherman wrote: > Incidentally... > > https://codereview.chromium.org/2944283002/diff/120001/chrome/browser/installable/installable_manager_browsertest.cc > File chrome/browser/installable/installable_manager_browsertest.cc (right): ...
3 years, 6 months ago (2017-06-22 16:46:12 UTC) #25
benwells
Removed '(deprecated)' strings and the change in web_apps.cc. isherman - lgty? https://codereview.chromium.org/2944283002/diff/120001/chrome/browser/installable/installable_manager_browsertest.cc File chrome/browser/installable/installable_manager_browsertest.cc (right): ...
3 years, 6 months ago (2017-06-23 02:09:27 UTC) #28
benwells
ping isherman, did you want another look?
3 years, 6 months ago (2017-06-23 22:34:29 UTC) #31
Ilya Sherman
On 2017/06/23 22:34:29, benwells wrote: > ping isherman, did you want another look? Sorry, was ...
3 years, 5 months ago (2017-06-26 18:52:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2944283002/160001
3 years, 5 months ago (2017-06-26 22:11:40 UTC) #35
Lei Zhang
On 2017/06/22 16:46:12, chaopeng wrote: > On 2017/06/22 16:36:22, Ilya Sherman wrote: > > Incidentally... ...
3 years, 5 months ago (2017-06-26 22:23:34 UTC) #36
benwells
On 2017/06/26 22:23:34, Lei Zhang wrote: > On 2017/06/22 16:46:12, chaopeng wrote: > > On ...
3 years, 5 months ago (2017-06-26 22:34:09 UTC) #38
chaopeng
lgtm
3 years, 5 months ago (2017-06-27 21:12:27 UTC) #39
Lei Zhang
lgtm
3 years, 5 months ago (2017-06-27 21:14:15 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2944283002/160001
3 years, 5 months ago (2017-06-27 21:14:40 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/475340)
3 years, 5 months ago (2017-06-27 21:22:43 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2944283002/180001
3 years, 5 months ago (2017-06-28 04:05:21 UTC) #47
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 05:10:50 UTC) #50
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/c421ccdbdd2c25b9d5d83eab1d89...

Powered by Google App Engine
This is Rietveld 408576698