• brettw's avatar
    Make SplitStringUsingSubstr have consistent args. · 8d858df9
    brettw authored
    The other split string functions have a consistent set of arguments that allow callers to specify whitespace handling and what to do with empty items. This one variant still used the old signature and passed through the parameters to the same backend.
    
    This patch makes the parameters match the other forms and removes the legacy versions. There should be no behavior change since this should end up calling the same backend with the same parameters.
    
    gesture_property_provider.cc changed to using a range-based for loop since it didn't need the temporary.
    
    R=dcheng@chromium.org
    TBR=bauerb@chromium.org (webui owners)
    
    Review-Url: https://codereview.chromium.org/2356253006
    Cr-Commit-Position: refs/heads/master@{#420562}
    8d858df9
chrome_content_client_unittest.cc 8.28 KB