• Evan Stade's avatar
    Spellcheck cleanups · e38327e1
    Evan Stade authored
    Introduce a build flag for the remote spelling service, and stop
    compiling/instantiating SpellingServiceClient on platforms that
    don't use it (Android). Also try to reduce the number of platform
    ifdefs in spellcheck code, in favor of buildflag usage. Reduce
    the amount of code that's compiled but never used by removing
    several SpellCheckHostImpl methods on mac/win.
    
    Also remove a couple of obsolete includes.
    
    Change-Id: I5697a5d3f891f69159d5bba855ee72e11a3ca8be
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1927412Reviewed-by: default avatarRouslan Solomakhin <rouslan@chromium.org>
    Reviewed-by: default avatarBo <boliu@chromium.org>
    Commit-Queue: Bo <boliu@chromium.org>
    Auto-Submit: Evan Stade <estade@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#718338}
    e38327e1
BUILD.gn 259 KB