• Sylvain Defresne's avatar
    Avoid needless parsing constants URLs. · c57fe765
    Sylvain Defresne authored
    There is a global comparison operator allowing to check whether
    a GURL is equal to a constant URL. This avoid needlessly parsing
    the constant to a GURL everytime the comparison is done.
    
    Bug: 655467
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Change-Id: I9c876b542f09235042c36026b32977d88c2f0d0b
    Reviewed-on: https://chromium-review.googlesource.com/886421
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#532373}
    c57fe765
ios_chrome_sync_client.mm 17.4 KB