• manukh's avatar
    [omnibox] [bookmark-paths] Match and display paths in bookmark provider · 138d9519
    manukh authored
    Currently, bookmark suggestions are limited to title & URL matches. E.g
    the input 'planets jupiter' won't suggest a bookmark titled 'jupiter' in
    a directory 'planets'.
    
    This is the 3rd of 3 CLs implementing bookmark-paths which will allow
    inputs to match bookmark paths (without contributing to the bookmark
    suggestion's score).
    
    This CL updates the bookmark provider to:
    1) Ask the underlying bookmark model for path matching when querying for
    bookmarks.
    2) Include the path in the suggestion contents or description depending
    on feature params.
    
    Bug: 1129524
    Change-Id: I0b0d5f57a03e1e7a7a09ca5ab6f7b60ad161ece5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441130
    Commit-Queue: manuk hovanesian <manukh@chromium.org>
    Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#824946}
    138d9519
titled_url_match_utils_unittest.cc 17.7 KB