• battre's avatar
    Introduce a CookieSettings for incognito mode · 78fa7c1c
    battre authored
    Each profile (regular and incognito) has its own HostContentSettingsMap. This
    is modified for example in ContentSettingSingleRadioGroup and also presented in
    the content settings exceptions in chrome://settings. However, the values of
    the HCSM are not reflected in the CookieSettings of an incognito session
    because a single CookieSettings instance is shared between regular and
    incognito mode. This CL fixes that.
    
    BUG=432398
    
    Review URL: https://codereview.chromium.org/900803002
    
    Cr-Commit-Position: refs/heads/master@{#315034}
    78fa7c1c
cookie_settings.cc 8.3 KB