Revert of Merge duplicate code in invalidation helper. (patchset #2 id:40001 of https://codereview.chromium.org/1310323009/ )

Reason for revert:
Broke gn gen; see e.g. http://build.chromium.org/p/chromium.linux/builders/Linux%20Builder/builds/56707/steps/generate_build_files/logs/stdio

Original issue's description:
> Merge duplicate code in invalidation helper.
>
> There is code duplication in:
>   components/sync_driver/invalidation_helper
>   sync/tools/invalidation_helper
>
> This patch merged those files by removing duplicate code in
> sync/tools/invalidation_helper.
>
> BUG=528259
>
> Committed: https://crrev.com/de7123741b492a12f35a0cbd7b3e36ff3839a3e6
> Cr-Commit-Position: refs/heads/master@{#349849}

TBR=droger@chromium.org,zea@chromium.org,jitendra.ks@samsung.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=528259

Review URL: https://codereview.chromium.org/1357143002

Cr-Commit-Position: refs/heads/master@{#349858}
7 files changed