• Kristi Park's avatar
    Revert "[NTP] Separate internal custom link updates from user changes" · 6d2d9988
    Kristi Park authored
    This reverts commit adf05659.
    
    Reason for revert: Removing the HEAD request. See https://crbug/874194.
    
    Original change's description:
    > [NTP] Separate internal custom link updates from user changes
    > 
    > When a default URL scheme is updated after URL validation, it is counted
    > as a user action. This causes "Undo" to revert the URL scheme update
    > instead of the user's add/update action.
    > 
    > Add an additional parameter to CustomLinksManager::UpdateLink in order
    > to distinguish between internal and user changes. Internal changes will
    > not update the previous state that is restored when
    > CustomLinksManager::UndoAction is called.
    > 
    > Bug: 896143
    > Change-Id: I643679fab5e546fac7e41214af6ff8a4ba9c8b53
    > Reviewed-on: https://chromium-review.googlesource.com/c/1287259
    > Commit-Queue: Kristi Park <kristipark@chromium.org>
    > Reviewed-by: Marc Treib <treib@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#600988}
    
    TBR=treib@chromium.org,kristipark@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 896143
    Change-Id: I26fd1f3a92161fe06009681ff90b5ea65c2db2b7
    Reviewed-on: https://chromium-review.googlesource.com/c/1298553Reviewed-by: default avatarKristi Park <kristipark@chromium.org>
    Commit-Queue: Kristi Park <kristipark@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602536}
    6d2d9988
instant_service.cc 31.2 KB