• Weilun Shi's avatar
    [NTP] Update NTP to respect the HideWebStoreIcon policy and enable NTP MD... · b59ba593
    Weilun Shi authored
    [NTP] Update NTP to respect the HideWebStoreIcon policy and enable NTP MD feature for HiddenWebStoreIcon test
    
    Now, Changing the HideWebStoreIcon policy will affect the
    prepopulated_list when a new profile opens or reopen the browser. The
    policy doesn't affect current profile on the NTP. This is because the
    browser will cache the prepopulated list so that it can fetch the tiles
    quickly. Also, force to enable New Tab Page Material Design flag for the
    HiddenWebStoreIcon test so that the PolicyTest can now get the new
    md-tile element instead of the old mv-tile.
    
    Bug: 871166, 855603
    Change-Id: I77a632daa73d655d9d1df053186782917405a15b
    Reviewed-on: https://chromium-review.googlesource.com/1164077Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Weilun Shi <sweilun@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#581378}
    b59ba593
top_sites_factory.cc 5.91 KB