Skip to content

Commit

Permalink
Privacy guide feaures deleted upstream
Browse files Browse the repository at this point in the history
These specific flags were being disabled by default, however the code
they were guarding is now deleted.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/f8eb4d46d0bc268eba98dbfe23b1abf26ccb07d7

commit f8eb4d46d0bc268eba98dbfe23b1abf26ccb07d7
Author: Rainhard Findling <rainhard@chromium.org>
Date:   Tue Mar 5 08:20:43 2024 +0000

    Reland #2 "Privacy Guide: remove search suggestions and preload cards"

    This is attempt #2 to reland this cleanup. Earlier attempts:
    commit 1faae6bd62538e3f685c7143d003a05dd5fbfffa and
    commit 01170d74d06655cd7244026dc0689542702c9bc2.
    This is created as a revert-of-a-revert as Gerrit currently doesn't
    allow to create a reland with merge conflicts (crbug.com/41395970).

    The position of the cookie step that is shown in the PG flow in the
    3PCD-disabled codepath has been updated in the integration test (see
    delta of patchset 1>2) which should (hopefully) make it pass also on
    waterfall bots.

    The reason why this wasn't caught in the last 2 CLs seems to stem
    from how 3PCD is tested in privacy_guide_integration_test.ts:
    privacy_guide_integration_test.ts does not force the 3PCD state to
    test both possible codepaths, but instead relies on the
    fieldtrial_testing_configs to run both possible 3PCD code paths [1].
    Contrary to our earlier understanding it seems that on local builds
    and on CQ bots, the fieldtrial_testing_configs does not actually run
    both possible 3PCD code paths, but only the 3PCD-enabled code path.
    As the cookie step is shown in PG only in the 3PCD-disabled code path,
    as a result of that code path seemingly not being tested in local builds
    and in CQ bots, the incorrect position of the cookie step in the
    integration test was not caught in the last 2 CLs.

    [1] https://chromium-review.googlesource.com/c/chromium/src/+/5014485/comment/6a847c98_64081fc3/

    Original change's description:
    > Privacy Guide: clean up search suggestions and preload cards
    >
    > The product decision has been made that the "improve search
    > suggestions" and "preload" cards in privacy guide won't launch. This
    > CL removes those cards from privacy guide.
    >
    > Bug: 40184479
    > Change-Id: I747c2c693ca624d769290c2351d02d4c0913bdab
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5279392
    > Reviewed-by: Theodore Olsauskas-Warren <sauski@google.com>
    > Commit-Queue: John Lee <johntlee@chromium.org>
    > Reviewed-by: Side YILMAZ <sideyilmaz@chromium.org>
    > Reviewed-by: John Lee <johntlee@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#1264176}

    Bug: 40184479
  • Loading branch information
cdesouza-chromium committed Mar 28, 2024
1 parent 70e535e commit fab2972
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/feature_defaults_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ TEST(FeatureDefaultsTest, DisabledFeatures) {
&features::kNotificationTriggers,
&features::kOmniboxTriggerForNoStatePrefetch,
&features::kOmniboxTriggerForPrerender2,
&features::kPrivacyGuide3,
&features::kPrivacyGuidePreload,
#if BUILDFLAG(IS_ANDROID)
&features::kPrivacyGuidePreloadAndroid,
#endif
Expand Down
2 changes: 0 additions & 2 deletions chromium_src/chrome/common/chrome_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ OVERRIDE_FEATURE_DEFAULT_STATES({{
{kControlledFrame, base::FEATURE_DISABLED_BY_DEFAULT},
{kKAnonymityService, base::FEATURE_DISABLED_BY_DEFAULT},
{kKAnonymityServiceOHTTPRequests, base::FEATURE_DISABLED_BY_DEFAULT},
{kPrivacyGuide3, base::FEATURE_DISABLED_BY_DEFAULT},
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
{kDesktopPWAsLinkCapturing, base::FEATURE_DISABLED_BY_DEFAULT},
#endif
{kPrivacyGuidePreload, base::FEATURE_DISABLED_BY_DEFAULT},
#if BUILDFLAG(IS_ANDROID)
{kPrivacyGuidePreloadAndroid, base::FEATURE_DISABLED_BY_DEFAULT},
#endif
Expand Down

0 comments on commit fab2972

Please sign in to comment.