• David Van Cleve's avatar
    Adds feature disabling referrers by default · da04c6e1
    David Van Cleve authored
    This CL adds a new feature, kNoReferrers, to subsume the functionality
    of the --no-referrers switch.  When the feature is *true*, the
    kEnableReferrers pref will have its default value set to *false*.  This
    is the current effect of setting the --no-referrers switch.
    
    A separate CL, crrev.com/c/1808144, is in progress to remove the switch
    itself.
    
    This is one of a series of changes adding
    functionality to run a Finch experiment exploring different
    levels of referrer policy and caps.
    
    R=creis, mmenke
    
    depending on the value of the feature.
    
    Test: Added browser test to confirm that the pref is set correctly
    Bug: 1004486
    Change-Id: If250cf4f29523328e540aa23672436071fbbb10a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1806080
    Commit-Queue: Matt Menke <mmenke@chromium.org>
    Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#699349}
    da04c6e1
system_network_context_manager.cc 34.2 KB