Added registration of AutocompleteClassifierFactory

Without proper creating of AutocompleteClassifierFactory and following
registration of factory in BrowserStateDependencyManager some of the
features do not work properly. For example ServiceIsNULLWhileTesting().
This leads to the flakiness of tests when you run several unit_tests in
one process. First test runs like ServiceIsNULLWhileTesting() is false
and following tests runs as ServiceIsNULLWhileTesting() is true.

Change-Id: I9c7eee026520739b8fbab08557a55b0e7d62ada7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1530917
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Commit-Queue: Alexander Yashkin <a-v-y@yandex-team.ru>
Cr-Commit-Position: refs/heads/master@{#642907}
1 file changed