|
|
DescriptionMake chrome://flags control whether the WebAPK feature is on
This CL removes the need for special code in variations to allow users to
experiment with WebAPKs. Since "variations experiments" are time limited, this
is a good thing.
This CL removes the ability to disable the WebAPK feature through variations.
This is OK because very few users currently use WebAPKs. In order to use
WebAPKs users need to turn the feature on via chrome://flags Once we start
rolling out WebAPKs to all users we will need to add a variations parameter as
a kill switch
BUG=None
Committed: https://crrev.com/8bd5759627bc6ea0ab775efa1cdf0281b08065b6
Cr-Commit-Position: refs/heads/master@{#438425}
Patch Set 1 : Merge branch 'prod_server' into feature_on_default #Patch Set 2 : Merge branch 'master' into feature_on_default #Patch Set 3 : Merge branch 'master' into feature_on_default #Patch Set 4 : Merge branch 'master' into feature_on_default #Messages
Total messages: 59 (31 generated)
pkotwicz@chromium.org changed reviewers: + dominickn@chromium.org
Dominick can you please take a look?
Patchset #2 (id:20001) has been deleted
Patchset #1 (id:1) has been deleted
I don't think this should be enabled by default until WebAPKs have passed launch review and are approved for launch. Has launch approval happened yet? On Fri., 2 Dec. 2016 at 12:05, <pkotwicz@chromium.org> wrote: > > > > > > > > > > > Reviewers: dominickn > CL: https://codereview.chromium.org/2544973002/ > > Message: > Dominick can you please take a look? > > Description: > Set WebAPK feature to be on by default. > > This better reflects the feature's purpose as a kill switch > > BUG=None > > Affected files (+3, -1 lines): > M chrome/browser/android/chrome_feature_list.cc > > > Index: chrome/browser/android/chrome_feature_list.cc > diff --git a/chrome/browser/android/chrome_feature_list.cc > b/chrome/browser/android/chrome_feature_list.cc > index > 9342c8a6fd456cfd9748625c8e7337ac3f496b49..233e4cfe2afb37208557f92414c3c48480ac6b69 > 100644 > --- a/chrome/browser/android/chrome_feature_list.cc > +++ b/chrome/browser/android/chrome_feature_list.cc > @@ -118,7 +118,9 @@ const base::Feature kUserMediaScreenCapturing{ > > // Makes "Add to Home screen" in the app menu generate an APK for the > shortcut > // URL which opens Chrome in fullscreen. > -const base::Feature kWebApks{"WebApks", > base::FEATURE_DISABLED_BY_DEFAULT}; > +// Note: The WebAPK feature is only on if both the feature is enabled and > the > +// command line flag is set. > +const base::Feature kWebApks{"WebApks", base::FEATURE_ENABLED_BY_DEFAULT}; > > static jboolean IsEnabled(JNIEnv* env, > const JavaParamRef<jclass>& clazz, > > > > > > > > > > > -- You received this message because you are subscribed to the Google Groups "Chromium-reviews" group. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Description was changed from ========== Set WebAPK feature to be on by default. This better reflects the feature's purpose as a kill switch BUG=None ========== to ========== Set WebAPK feature to be on by default. This better reflects the feature's purpose as a kill switch Although this CL turns the "feature" on by default, this CL does not turn the WebAPK functionality on by default. In order for the WebAPK functionality to be enabled, both the "feature" must be enabled and the --enable-improved-a2hs command line flag must be set. BUG=None ==========
Dominick, can you please take another look? I have updated the CL description to be clearer. This CL does not "enable the WebAPK functionality by default" because the WebAPK functionality is still behind an off-by-default command line flag (--enable-improved-a2hs). This CL enables the WebAPK "feature" by default so that users can try out WebAPKs IF AND ONLY IF they flip the --enable-improved-a2hs flag in chrome://flags I know that FEATURE_VALUE_TYPE can be used in about_flags.cc However, I don't know of a way of giving "disabling the feature via variations" precedence over "enabling the feature via --enable-features". I want the following behavior: WebAPK functionality is off if - Functionality is disabled via variations OR - Functionality is disabled via chrome://flags Using FEATURE_VALUE_TYPE() in about_flags.cc does not provide this behavior
The CQ bit was checked by pkotwicz@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/12/02 16:57:08, pkotwicz wrote: > Dominick, can you please take another look? > > I have updated the CL description to be clearer. This CL does not "enable the > WebAPK functionality by default" because the WebAPK functionality is still > behind an off-by-default command line flag (--enable-improved-a2hs). > > This CL enables the WebAPK "feature" by default so that users can try out > WebAPKs IF AND ONLY IF they flip the --enable-improved-a2hs flag in > chrome://flags > > I know that FEATURE_VALUE_TYPE can be used in about_flags.cc However, I don't > know of a way of giving "disabling the feature via variations" precedence over > "enabling the feature via --enable-features". > > I want the following behavior: > WebAPK functionality is off if > - Functionality is disabled via variations > OR > - Functionality is disabled via chrome://flags > Using FEATURE_VALUE_TYPE() in about_flags.cc does not provide this behavior WebAPKs have a server component - could we simply neuter the feature by disabling the WebAPK server if necessary? What benefit is there to forcibly overriding the flag set by a developer? They know that it's experimental and could stop working at any point. I'm still in favour of using FEATURE_VALUE_TYPE here and reducing the confusion inherent in needing two separate switches to enable WebAPKs. Again, I'm very hesitant to have an enabled by default feature (even if there's another flag required to turn it on) when it hasn't yet passed launch review.
Description was changed from ========== Set WebAPK feature to be on by default. This better reflects the feature's purpose as a kill switch Although this CL turns the "feature" on by default, this CL does not turn the WebAPK functionality on by default. In order for the WebAPK functionality to be enabled, both the "feature" must be enabled and the --enable-improved-a2hs command line flag must be set. BUG=None ========== to ========== Make chrome://flags control whether the WebAPK feature is on This CL removes the need for special code in variations to allow users to experiment with WebAPKs. Since "variations experiments" are time limited, this is a good thing. This CL removes the ability to disable the WebAPK feature through variations. This is OK because very few users currently use WebAPKs. In order to use WebAPKs users need to turn the feature on via chrome://flags Once we start rolling out WebAPKs to all users we will need to add a variations parameter as a kill switch BUG=None ==========
I have switched to using FEATURE_VALUE_TYPE as you have requested
lgtm This is much nicer, thanks very much for doing it.
pkotwicz@chromium.org changed reviewers: + dfalcantara@chromium.org
Dan for everything except ChromeWebApkHost.java
lgtm
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
pkotwicz@chromium.org changed reviewers: + isherman@chromium.org
isherman@ for changes to histograms.xml
histograms.xml lgtm
The CQ bit was checked by pkotwicz@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dominickn@chromium.org, dfalcantara@chromium.org Link to the patchset: https://codereview.chromium.org/2544973002/#ps80001 (title: "Merge branch 'master' into feature_on_default")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
On 2016/12/12 16:33:37, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, > https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...) linux_android_rel_ng seems to be super flaky this week....
The CQ bit was checked by pkotwicz@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm6...)
The CQ bit was checked by pkotwicz@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dominickn@chromium.org, isherman@chromium.org, dfalcantara@chromium.org Link to the patchset: https://codereview.chromium.org/2544973002/#ps100001 (title: "Merge branch 'master' into feature_on_default")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1481683827560840, "parent_rev": "258c81875965638e63d52a894f536b7db4128399", "commit_rev": "30a6022d0bc2ac7f0fc0f5e8d4bb2b16871d5e76"}
Message was sent while issue was closed.
Description was changed from ========== Make chrome://flags control whether the WebAPK feature is on This CL removes the need for special code in variations to allow users to experiment with WebAPKs. Since "variations experiments" are time limited, this is a good thing. This CL removes the ability to disable the WebAPK feature through variations. This is OK because very few users currently use WebAPKs. In order to use WebAPKs users need to turn the feature on via chrome://flags Once we start rolling out WebAPKs to all users we will need to add a variations parameter as a kill switch BUG=None ========== to ========== Make chrome://flags control whether the WebAPK feature is on This CL removes the need for special code in variations to allow users to experiment with WebAPKs. Since "variations experiments" are time limited, this is a good thing. This CL removes the ability to disable the WebAPK feature through variations. This is OK because very few users currently use WebAPKs. In order to use WebAPKs users need to turn the feature on via chrome://flags Once we start rolling out WebAPKs to all users we will need to add a variations parameter as a kill switch BUG=None Review-Url: https://codereview.chromium.org/2544973002 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== Make chrome://flags control whether the WebAPK feature is on This CL removes the need for special code in variations to allow users to experiment with WebAPKs. Since "variations experiments" are time limited, this is a good thing. This CL removes the ability to disable the WebAPK feature through variations. This is OK because very few users currently use WebAPKs. In order to use WebAPKs users need to turn the feature on via chrome://flags Once we start rolling out WebAPKs to all users we will need to add a variations parameter as a kill switch BUG=None Review-Url: https://codereview.chromium.org/2544973002 ========== to ========== Make chrome://flags control whether the WebAPK feature is on This CL removes the need for special code in variations to allow users to experiment with WebAPKs. Since "variations experiments" are time limited, this is a good thing. This CL removes the ability to disable the WebAPK feature through variations. This is OK because very few users currently use WebAPKs. In order to use WebAPKs users need to turn the feature on via chrome://flags Once we start rolling out WebAPKs to all users we will need to add a variations parameter as a kill switch BUG=None Committed: https://crrev.com/8bd5759627bc6ea0ab775efa1cdf0281b08065b6 Cr-Commit-Position: refs/heads/master@{#438425} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/8bd5759627bc6ea0ab775efa1cdf0281b08065b6 Cr-Commit-Position: refs/heads/master@{#438425} |