• Emily Stark's avatar
    Implement a pref mode for the recurrent error message · c657d45e
    Emily Stark authored
    When a certificate error recurs multiple times within a browsing session, we add
    a special message to the interstitial. This CL adds a Finch-controlled mode
    where the count of certificate errors is stored in a pref instead of in memory,
    so that we can trigger the recurrent error message when an error recurs within a
    certain period of time (even spanning browsing sessions). We might want to roll
    out this pref mode on certain platforms (like Android) where browsing sessions
    might be significantly shorter than desktop.
    
    Bug: 839969
    Change-Id: I04f1af1aa30043821859f4459602627b9ba7af77
    Reviewed-on: https://chromium-review.googlesource.com/1053563
    Commit-Queue: Emily Stark <estark@chromium.org>
    Reviewed-by: default avatarChristopher Thompson <cthomp@chromium.org>
    Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#557966}
    c657d45e
pref_names.h 33.5 KB