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-by: Mihai Sardarescu <>
Commit-Queue: Alexander Yashkin <>
Cr-Commit-Position: refs/heads/master@{#642907}
1 file changed